4 ms·
> Sounds like it would lead to subtle bugs but I guess it works ok. It does lead to subtle bugs. The same kind of people who leave semicolons out of javascript
by krapp 10y ago
> Sounds like it would lead to subtle bugs but I guess it works ok.
It does lead to subtle bugs. The same kind of people who leave semicolons out of javascript write C but leave out the braces in statements wherever it's allowed - which also leads to subtle bugs.
I guess looking pretty and saving a couple of keystrokes is preferable to being explicit and not having to just trust that the compiler/browser/whatever is able to intuit what you want the code to be as opposed to what you wrote.
- pretodor 10y ago> It does lead to subtle bugs. Have you encountered any bugs so far while testing NodeScript out? I thought I have taken care of all the gotchas when it comes to semicolons.