CoffeeScript
| CoffeeScript | |
|---|---|
| Paradigms | Multi-paradigm: prototype-based, functional, imperative, scripting |
| Family | ECMAScript |
| Designed by | Jeremy Ashkenas |
| Developer | same |
| First appeared | December 13, 2009 |
| Stable release | 2.7.0
/ 24 April 2022 |
| Typing discipline | dynamic, implicit |
| Scope | lexical |
| Implementation language | CoffeeScript |
| Platform | x86-64 |
| OS | Cross-platform |
| License | MIT |
| Filename extensions | .coffee, .litcoffee |
| Website | coffeescript |
| Influenced by | |
| Haskell, JavaScript, Perl, Python, Ruby, YAML | |
| Influenced | |
| MoonScript, LiveScript, JavaScript | |
CoffeeScript is a programming language that compiles to JavaScript. It adds syntactic sugar inspired by Ruby, Python, and Haskell in an effort to enhance JavaScript's brevity and readability. Some added features include list comprehension and destructuring assignment.
CoffeeScript support is included in Ruby on Rails version 3.1 and Play Framework. In 2011, Brendan Eich referenced CoffeeScript as an influence on his thoughts about the future of JavaScript.