Brendan Eich: The infernal semicolon
Heh, I was waiting for this post. Coming in the next 24 hours:<p>- "Why I use minimal semi-colons in Javascript"<p>- "ASI is broken but I like it"<p>Honestly I'm shocked at the defense of this practice (of ASI "abusage"). It speaks loudly to Jacob's (fat@githib) ranking of ego-stroking and showboating over creating readable code, particularly for a library "Designed for everyone, everywhere" [1].<p>I'm confounded that such an attitude can survive in a large engineering organization like Twitter. Google's style guide [2] specifically prohibits this ("Always use semicolons.") and yes, this is the same standard we use internally for writing Javascript.<p>Just because you can doesn't mean you should. FFS, just get over yourselves and your hipster bullshit and use semi-colons.<p>[1]: <a href="http://twitter.github.com/bootstrap/" rel="nofollow">http://twitter.github.com/bootstrap/</a><p>[2]: <a href="http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Semicolons" rel="nofollow">http://google-styleguide.googlecode.com/svn/trunk/javascript...</a>