4

Who brought the idea of using semicolon to represent the end of expression

Comments
  • 16
    If you couldn't sleep for a week because of a missing ; then there's something very wrong with your toolchain. Or you.
  • 3
    The only time this is acceptable is when you've used “;” instead of ";"
    😏

    But then your editor / ide doesn't detect bad characters either.
    Get a better editor.
  • 2
    @C0D4 While that prank with the similar-looking-but-different character seems kind of fun, I don't see it working in real life. Even if your editor/IDE didn't issue warnings, you'd assume that for anything serious you'd have Git (or other VCS) and that every commit is reviewed and approved as working.
  • 7
    i'm sorry, is this some plain-text joke i'm too IDE to understand?
  • 2
    Or… use a better language that doesn’t require the ceremony of ; at the end of each statement. Like Kotlin or Swift.
  • 2
    How on earth does someone spend six days debugging a missing semicolon error
  • 0
    Well, switch to TypeScript or a language with significant whitespace.
  • 0
    @Oktokolo lack of semicolons and significant whitespace are not necessary related.
Add Comment