25
oroys
8y

The myth about the missing semicolon. I don't get it, if your editor doesn't pick it up, the compiler og interpreter will. How is this a common problem?

Comments
  • 2
    The only way it has bugged me is in my cshtml files for mvc views. For some reason visual studio misses those on occasion. And those aren't really class files until runtime so it makes it a bit worse.
  • 9
    Interpreted languages instead of compiled are notorious for the missing semicolon.
  • 1
    var x = callable
    (expression).something

    Might not be either runtime nor compiletime error
  • 6
    or the additional semi colon problem

    var i;
    for (i = 0; i < 10; i++);
    {
    console.log(i);
    }
Add Comment