▲ 193 ▼ Python vs. Java (sh.itjust.works) submitted 8 months ago by Ragdoll_X@sh.itjust.works to c/programmer_humor@programming.dev 56 comments fedilink hide all child comments
[–] bigboismith@lemmy.world 5 points 8 months ago (12 children) Printing to console is often only used for toy code anyway. permalink fedilink source parent hideshow 12 child comments replies: [–] silasmariner@programming.dev 7 points 7 months ago (11 children) Wait, how do you debug your code? permalink fedilink source parent hideshow 11 child comments replies: [–] Traister101@lemmy.today 4 points 7 months ago (5 children) A logger? Console prints are shitty in general but especially when you have an actual logger already permalink fedilink source parent hideshow 5 child comments replies: [–] SlurpingPus@lemmy.world 9 points 7 months ago (1 child) You know what println never did? Run arbitrary code on my toaster. permalink fedilink source parent hideshow 1 child comment replies: [–] Traister101@lemmy.today 1 point 7 months ago Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn't the feature itself it's the fact it's enabled by default in a logger of all things. permalink fedilink source parent [–] silasmariner@programming.dev 3 points 7 months ago (2 children) Oh man, I thought that was one of the classic jokes :'( I am out of touch permalink fedilink source parent hideshow 2 child comments replies: [–] Traister101@lemmy.today 2 points 7 months ago (1 child) People in my experience are actually very serious about the standard out to debug log which is... baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent [–] firelizzard@programming.dev 2 points 7 months ago (1 child) … with a debugger permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago Meh permalink fedilink source parent [–] Magnum@infosec.pub 2 points 7 months ago (2 children) Using a debugger? permalink fedilink source parent hideshow 2 child comments replies: [–] silasmariner@programming.dev 1 point 7 months ago (1 child) Guess you could do that, seems like a pain though permalink fedilink source parent hideshow 1 child comment replies: [–] Magnum@infosec.pub 1 point 7 months ago ???? permalink fedilink source parent
[–] silasmariner@programming.dev 7 points 7 months ago (11 children) Wait, how do you debug your code? permalink fedilink source parent hideshow 11 child comments replies: [–] Traister101@lemmy.today 4 points 7 months ago (5 children) A logger? Console prints are shitty in general but especially when you have an actual logger already permalink fedilink source parent hideshow 5 child comments replies: [–] SlurpingPus@lemmy.world 9 points 7 months ago (1 child) You know what println never did? Run arbitrary code on my toaster. permalink fedilink source parent hideshow 1 child comment replies: [–] Traister101@lemmy.today 1 point 7 months ago Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn't the feature itself it's the fact it's enabled by default in a logger of all things. permalink fedilink source parent [–] silasmariner@programming.dev 3 points 7 months ago (2 children) Oh man, I thought that was one of the classic jokes :'( I am out of touch permalink fedilink source parent hideshow 2 child comments replies: [–] Traister101@lemmy.today 2 points 7 months ago (1 child) People in my experience are actually very serious about the standard out to debug log which is... baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent [–] firelizzard@programming.dev 2 points 7 months ago (1 child) … with a debugger permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago Meh permalink fedilink source parent [–] Magnum@infosec.pub 2 points 7 months ago (2 children) Using a debugger? permalink fedilink source parent hideshow 2 child comments replies: [–] silasmariner@programming.dev 1 point 7 months ago (1 child) Guess you could do that, seems like a pain though permalink fedilink source parent hideshow 1 child comment replies: [–] Magnum@infosec.pub 1 point 7 months ago ???? permalink fedilink source parent
[–] Traister101@lemmy.today 4 points 7 months ago (5 children) A logger? Console prints are shitty in general but especially when you have an actual logger already permalink fedilink source parent hideshow 5 child comments replies: [–] SlurpingPus@lemmy.world 9 points 7 months ago (1 child) You know what println never did? Run arbitrary code on my toaster. permalink fedilink source parent hideshow 1 child comment replies: [–] Traister101@lemmy.today 1 point 7 months ago Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn't the feature itself it's the fact it's enabled by default in a logger of all things. permalink fedilink source parent [–] silasmariner@programming.dev 3 points 7 months ago (2 children) Oh man, I thought that was one of the classic jokes :'( I am out of touch permalink fedilink source parent hideshow 2 child comments replies: [–] Traister101@lemmy.today 2 points 7 months ago (1 child) People in my experience are actually very serious about the standard out to debug log which is... baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent
[–] SlurpingPus@lemmy.world 9 points 7 months ago (1 child) You know what println never did? Run arbitrary code on my toaster. permalink fedilink source parent hideshow 1 child comment replies: [–] Traister101@lemmy.today 1 point 7 months ago Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn't the feature itself it's the fact it's enabled by default in a logger of all things. permalink fedilink source parent
[–] Traister101@lemmy.today 1 point 7 months ago Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn't the feature itself it's the fact it's enabled by default in a logger of all things. permalink fedilink source parent
[–] silasmariner@programming.dev 3 points 7 months ago (2 children) Oh man, I thought that was one of the classic jokes :'( I am out of touch permalink fedilink source parent hideshow 2 child comments replies: [–] Traister101@lemmy.today 2 points 7 months ago (1 child) People in my experience are actually very serious about the standard out to debug log which is... baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent
[–] Traister101@lemmy.today 2 points 7 months ago (1 child) People in my experience are actually very serious about the standard out to debug log which is... baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent
[–] silasmariner@programming.dev 1 point 7 months ago* Oh I'm completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped. The good printlns become logs, obviously permalink fedilink source parent
[–] firelizzard@programming.dev 2 points 7 months ago (1 child) … with a debugger permalink fedilink source parent hideshow 1 child comment replies: [–] silasmariner@programming.dev 1 point 7 months ago Meh permalink fedilink source parent
[–] Magnum@infosec.pub 2 points 7 months ago (2 children) Using a debugger? permalink fedilink source parent hideshow 2 child comments replies: [–] silasmariner@programming.dev 1 point 7 months ago (1 child) Guess you could do that, seems like a pain though permalink fedilink source parent hideshow 1 child comment replies: [–] Magnum@infosec.pub 1 point 7 months ago ???? permalink fedilink source parent
[–] silasmariner@programming.dev 1 point 7 months ago (1 child) Guess you could do that, seems like a pain though permalink fedilink source parent hideshow 1 child comment replies: [–] Magnum@infosec.pub 1 point 7 months ago ???? permalink fedilink source parent