▲ 919 ▼ My code is self-documenting (lemmy.world) submitted 10 months ago by skepller@lemmy.world to c/programmer_humor@programming.dev 72 comments fedilink hide all child comments
[–] konalt@lemmy.world 27 points 10 months ago* (last edited 10 months ago) (4 children) // 🚨 Log error to console console.error(error); permalink fedilink source parent hideshow 4 child comments replies: [–] tauonite@lemmy.world 5 points 10 months ago* (last edited 10 months ago) (3 children) I once tried vibe coding a web app using GitHub Copilot. That motherfucker wrapped every single endpoint with try: ... except Exception: return "An error occurred" What the fuck is wrong with you Copilot? This piece of shit trying to hide all the errors. If I don't know there are errors then there aren't errors. Apparently permalink fedilink source parent hideshow 3 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 10 months ago* (1 child) I wish to god Visual Basic was still around so Copilot et. al. could get infected with ON ERROR RESUME NEXT statements. Or its under-appreciated but vastly more horrific cousin ON ERROR RESUME. permalink fedilink source parent hideshow 1 child comment replies: [–] pinball_wizard@lemmy.zip 2 points 10 months ago* I might make that my first coding project after I retire. I bet I can code up a global import that implements "ON ERROR RESUME" in a couple of modern languages... permalink fedilink source parent [–] bitjunkie@lemmy.world 1 point 10 months ago It's actually kind of hilarious how closely it mimics a human programmer who just sucks at it. permalink fedilink source parent
[–] tauonite@lemmy.world 5 points 10 months ago* (last edited 10 months ago) (3 children) I once tried vibe coding a web app using GitHub Copilot. That motherfucker wrapped every single endpoint with try: ... except Exception: return "An error occurred" What the fuck is wrong with you Copilot? This piece of shit trying to hide all the errors. If I don't know there are errors then there aren't errors. Apparently permalink fedilink source parent hideshow 3 child comments replies: [–] ChickenLadyLovesLife@lemmy.world 3 points 10 months ago* (1 child) I wish to god Visual Basic was still around so Copilot et. al. could get infected with ON ERROR RESUME NEXT statements. Or its under-appreciated but vastly more horrific cousin ON ERROR RESUME. permalink fedilink source parent hideshow 1 child comment replies: [–] pinball_wizard@lemmy.zip 2 points 10 months ago* I might make that my first coding project after I retire. I bet I can code up a global import that implements "ON ERROR RESUME" in a couple of modern languages... permalink fedilink source parent [–] bitjunkie@lemmy.world 1 point 10 months ago It's actually kind of hilarious how closely it mimics a human programmer who just sucks at it. permalink fedilink source parent
[–] ChickenLadyLovesLife@lemmy.world 3 points 10 months ago* (1 child) I wish to god Visual Basic was still around so Copilot et. al. could get infected with ON ERROR RESUME NEXT statements. Or its under-appreciated but vastly more horrific cousin ON ERROR RESUME. permalink fedilink source parent hideshow 1 child comment replies: [–] pinball_wizard@lemmy.zip 2 points 10 months ago* I might make that my first coding project after I retire. I bet I can code up a global import that implements "ON ERROR RESUME" in a couple of modern languages... permalink fedilink source parent
[–] pinball_wizard@lemmy.zip 2 points 10 months ago* I might make that my first coding project after I retire. I bet I can code up a global import that implements "ON ERROR RESUME" in a couple of modern languages... permalink fedilink source parent
[–] bitjunkie@lemmy.world 1 point 10 months ago It's actually kind of hilarious how closely it mimics a human programmer who just sucks at it. permalink fedilink source parent