Paradigm | Multi-paradigm: prototype-based, functional, imperative, scripting |
---|---|
Designed by | Jeremy Ashkenas |
Developer | Jeremy Ashkenas |
First appeared | December 13, 2009 |
Stable release | 2.7.0[1]
/ 24 April 2022 |
Typing discipline | dynamic, implicit |
OS | Cross-platform |
License | MIT License |
Filename extensions | .coffee , .litcoffee [citation needed] |
Website | coffeescript |
Influenced by | |
Haskell, JavaScript, Perl,[citation needed] Python,[2] Ruby, YAML[3] | |
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.[4] Specific additional features include list comprehension and destructuring assignment.
CoffeeScript support is included in Ruby on Rails version 3.1[5] and Play Framework.[6] In 2011, Brendan Eich referenced CoffeeScript as an influence on his thoughts about the future of JavaScript.[7][8]