News for hackers. Stuff that matters.
Re:CoffeeScript: The beautiful way to write JavaScript by MatthewPhillips on Tuesday March 08, 2011 @01:40PM (#2302030)
CoffeeScript is javascript so prototypal objects still work as expected. They just went ahead and threw in classes if you want them, since there are already many javascript libraries that provide them for people who either are used to / want classes or to make it easier to port existing code.
Re:CoffeeScript: The beautiful way to write JavaScript by neimado on Tuesday March 08, 2011 @07:42PM (#2303268)
coffescript !== javascript, and it never will === javascript.
Re:CoffeeScript: The beautiful way to write JavaScript by jamesgeck0 on Tuesday March 08, 2011 @08:05PM (#2303328)
Please elaborate. It's easy to match generated Javascript to it's corresponding CoffeeScript source. There's a lot of syntactical sugar, but there isn't much that isn't just a handy shortcut. I used something kinda like CS's class system in JS before I even discovered CS.