Re:Why are programmers afraid of not using semicolons in Jav...
by Jach on Sunday August 07, 2011 @02:36PM
(#2857362)
This is probably furthest down on my list of worries when writing JS... Sometimes I use semicolons, sometimes I don't (I try to be consistent in the same file), and when I'm in somebody else's house I follow their style. The examples given for why I should always use semicolons (e.g. the return + value on different line) are things that just don't come up for me and usually look ugly enough I'd avoid them anyway. (Also they're fairly simple to discover if you're actually testing your code.) The last time I did a return and value on the next line was in Java...
[ Parent
| on HN ]
There are no comments on this comment yet.