4 ms·
What a child... Has anyone read the GitHub style guide? 'Do your best to never use a semicolon. This means avoiding them at line breaks and avoiding multi-state
by shpoonj 14y ago
What a child... Has anyone read the GitHub style guide? 'Do your best to never use a semicolon. This means avoiding them at line breaks and avoiding multi-statement lines.'
Grow up Crockford. Do research before you post. Stop assuming because you supposedly once knew how to do something, you still do, and always will. Times change.
However, this is all very exciting. It gives Twitter, or whatever other start up, an opportunity to replace an outdated piece of software by a nut case!
- FlemishBeeCycle 14y agoWhy do you believe the github style guide to be the authoritative source for JavaScript style? There is no benefit for avoiding use of semicolons other than not writing semicolons, whereas there are several detriments for their omission. > It gives Twitter, or whatever other start up, an opportunity to replace an outdated piece of software by a nut case! I don't know where this ad-hominem is coming from, but Douglas Crockford is hardly a nutcase.
- web_chops 14y agoGoogle style guide says otherwise: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Semicolons http://google-styleguide.googlecode.com/svn/trunk/javascript... If people hate semi-colons with such a passion, why not simply use coffeescript and be done with it instead of depending on butterflies flapping their wings...
- simonw 14y agoYou're honestly telling Douglas Crockford to "do research" before posting on the topic of automatic semicolon insertion?