• seitanic@lemmy.sdf.org
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    ~95% of the JS code you see on the Web has semicolons. Apparently, a lot of programmers think it’s worth that extra keystroke to avoid these types of bugs. I agree with them. The difficulty with programming isn’t “Arrgh, there are too many keystrokes, my hands are tired!” It’s “Arrgh, HTF did this bug get in here?!?”

    • tryagain
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I don’t even bother typing them because I like having eslint do it for me.