CoffeeScript in Action is a tutorial that teaches you how, where, and why to use CoffeeScript. It begins by quickly exposing you to CoffeeScripts new, but instantly-familiar syntax. Then, youll explore programming challenges that illustrate CoffeeScripts unique advantages. Language junkies will especially appreciate how this book takes idioms from other programming languages and shows you how CoffeeScript makes them available in javascript.
About the Book
javascript runs (almost) everywhere but it can be quirky and awkward. Its cousin CoffeeScript is easier to comprehend and compose. An expressive language, not unlike Ruby or Python, it compiles into standard javascript without modification and is a great choice for complex web applications. It runs in any javascript-enabled environment and is easy to use with Node.js and Rails.
CoffeeScript in Action teaches you how, where, and why to use CoffeeScript. It immerses you in CoffeeScripts comfortable syntax before diving into the concepts and techniques you need in order to write elegant CoffeeScript programs. Throughout, youll explore programming challenges that illustrate CoffeeScripts unique advantages. For language junkies, the book explains how CoffeeScript brings idioms from other languages into javascript.
Whats Inside
CoffeeScripts syntax and structure
Web application patterns and best practices
Prototype-based OOP
Functional programming
Asynchronous programming techniques
Builds and testing
Readers need a basic grasp of web development and how javascript works. No prior exposure to CoffeeScript is required