News for hackers. Stuff that matters.
Re:Actual drawbacks to omitting semi-colons? by roryokane on Wednesday October 06, 2010 @12:21AM (#1762694)
If you prefer not to use semi-colons in JavaScript but need to add them for other’s sake, you could try programming in CoffeeScript (http://jashkenas.github.com/coffee-script/), which is a language meant to be a bunch of small improvements to JavaScript that compiles into JavaScript. It doesn’t require semi-colons. You can show others just the compiled JavaScript, and they need never know you are using something else.

Edit: ninja’d by railsjedi: http://news.ycombinator.com/item?id=1762677

There are no comments on this comment yet.