Hour 21. CoffeeScript
What You’ll Learn in This Hour:
• What CoffeeScript is and how you can use it
• What CoffeeScript offers over native JavaScript
• Using classes with CoffeeScript
• Some potential issues with using CoffeeScript
What Is CoffeeScript?
CoffeeScript is a pre-compiler for JavaScript written by Jeremy Ashkenas. It is designed with the following goals in mind:
• To clean up JavaScript syntax
• To provide a number of “goodies” for developers that add new features to JavaScript, taken from Ruby and Python
• To make JavaScript easier to use and to expose powerful features of the JavaScript programming language without the need to fully understand the quirks of JavaScript
The term pre-compiler means that CoffeeScript is a layer on ...
Get Sams Teach Yourself Node.js in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.