257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square788fedilinkarrow-up1284arrow-down112
arrow-up1272arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square788fedilink
minus-square0xc0ba17@sh.itjust.workslinkfedilinkFrançaisarrow-up1arrow-down4·edit-21 year agoPeople who insist on using semicolons in Javascript don’t understand why and are just following a cargo cult. Remove the semicolons, be free. Edit: lmao I hit some nerve here
minus-squareNested_Array@lemm.eelinkfedilinkarrow-up1·1 year agoiirc semicolons are required in JavaScript strict mode.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up1·1 year agoIt’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.
People who insist on using semicolons in Javascript don’t understand why and are just following a cargo cult.
Remove the semicolons, be free.
Edit: lmao I hit some nerve here
iirc semicolons are required in JavaScript strict mode.
They’re absolutely not
It’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.