fossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 6 months agoErrorsmander.xyzimagemessage-square14fedilinkarrow-up135arrow-down11
arrow-up134arrow-down1imageErrorsmander.xyzfossilesque@mander.xyz to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square14fedilink
minus-squareEcho Dot@feddit.uklinkfedilinkarrow-up2·6 months agoMy personal favorite is when it complains about a missing semicolon. So it’s 100% knows what the problem is, it knows where the problem is, and it knows how to fix it. But it’s not going to fix it out of spite.
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·6 months agoOh boy, are you gonna LOVE Javascript
minus-squarevala@lemmy.worldlinkfedilinkarrow-up2·6 months agoIs your point that JS doesn’t really need semicolons at all any more?
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·6 months agoNot just that, it’s the reason why it doesn’t need semicolons: https://en.wikibooks.org/wiki/JavaScript/Automatic_semicolon_insertion
minus-squareirelephant [he/him]🍭@lemm.eelinkfedilinkarrow-up1·6 months agoJavascript and html are more suggestions on how to write something that may work in a web browser.
My personal favorite is when it complains about a missing semicolon. So it’s 100% knows what the problem is, it knows where the problem is, and it knows how to fix it. But it’s not going to fix it out of spite.
Oh boy, are you gonna LOVE Javascript
Is your point that JS doesn’t really need semicolons at all any more?
Not just that, it’s the reason why it doesn’t need semicolons: https://en.wikibooks.org/wiki/JavaScript/Automatic_semicolon_insertion
Javascript and html are more suggestions on how to write something that may work in a web browser.