Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nornagon
on Feb 13, 2012
|
parent
|
context
|
favorite
| on:
Bootstrap's maintainer hates the semicolon
I avoid using the semicolon in JS because doing so forces me to be aware of the semicolon insertion rules. Forgetting them can lead you to believe that statements like
return { foo: 3 };
do what you expect :)
mcantor
on Feb 13, 2012
[–]
Why would you ever write that
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: