|
|
|
|
|
by davidsiems
5654 days ago
|
|
Here's what Crockford has to say on the subject: "One of the mistakes in the language is semicolon insertion. This is a technique for making semicolons optional as statement terminators. It is reasonable for IDEs and shell programs to do semicolon insertion. It is not reasonable for the language definition to require compilers to do it. Use semicolons." http://javascript.crockford.com/survey.html I'm inclined to agree. You already have to deal with enough complexity while you're programming, why add more? It's easier to follow the rule 'always use semicolons' than to try to selectively use them. |
|