4 ms·
I'm surprised no one has made a little command line tool that follows the rules and automatically inserts semicolons according to the ASI spec. That might even
by Natsu 15y ago
I'm surprised no one has made a little command line tool that follows the rules and automatically inserts semicolons according to the ASI spec.
That might even be useful.
- OzzyB 15y ago...or perhaps a simple "Zen of Javascript" would be in order. Reading this "debate" makes me thankful for the Python Community and their stance on "readable code" above all else.
- andrewflnr 15y agoNow that you mention it, every language should have a "Zen" statement, or if you don't want to call it that, a short description of its philosophy. This in addition to the concise problem/solution statement that probably every piece of software should have.
- aubergene 15y agoClosure linter's fixjsstyle can do this https://developers.google.com/closure/utilities/ https://developers.google.com/closure/utilities/