4 ms·
You might be shocked (shocked!) at how clean and readable some of the CoffeeScript source is. To pick an example at random: https://github.com/artursapek/mondr
by jashkenas 13y ago
You might be shocked (shocked!) at how clean and readable some of the CoffeeScript source is. To pick an example at random:
https://github.com/artursapek/mondrian/blob/master/src/geometry/line-segment.coffee https://github.com/artursapek/mondrian/blob/master/src/geome...
Artur really did a nice job with structuring this project...
- rfnslyr 13y agoVanilla JS is easier for me. I don't have time to learn the workings of coffeescript just to read a library casually.
- mikkel 13y ago'The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime' There really is very little magic with coffeescript. Most of it is syntactic sugar which can be learned at a glance of: http://coffeescript.org/ http://coffeescript.org/ . Don't mean to come off as pushy but I think it's well worth learning what coffeescript is. Especially if you are familiar with javascript, as it's a straight upgrade in your toolkit.
- pyromine 13y agoAs an additional testimony, I've actually been learning coffeescript without really knowing JavasScript, and it has actually gone fairly well. For the most part it's intuitive, and if you're willing to be a little frustrated figuring out some of the syntax changes it can be rewarding.
- stdbrouw 13y agoBut obviously you do have enough time to complain about it.