|
|
|
|
|
by wvenable
6066 days ago
|
|
You have to be precise when programming; A statement needs to have one and only one meaning. It's possible to design a language that doesn't require semicolons (Basic, for example) or just be more terse than JavaScript. But a language who's grammar changes based on very subtle context is not acceptable. When it comes to JavaScript, you'll find most people put the semicolons in even when they don't have to. It's just a highly ineffective feature. Now if they didn't have semicolons at all and designed the language appropriately, that would be different. |
|