257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square889fedilinkarrow-up1351arrow-down114
arrow-up1337arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square889fedilink
minus-square0xc0ba17@sh.itjust.workslinkfedilinkFrançaisarrow-up1arrow-down5·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-squarefrezik@midwest.sociallinkfedilinkarrow-up2·1 year agoIt’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.
minus-squareNested_Array@lemm.eelinkfedilinkarrow-up1·1 year agoiirc semicolons are required in JavaScript strict mode.
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
It’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.
iirc semicolons are required in JavaScript strict mode.
They’re absolutely not