CoffeeScript

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. Specific additional features include list comprehension and destructuring assignment.

CoffeeScript
ParadigmMulti-paradigm: prototype-based, functional, imperative, scripting
Designed byJeremy Ashkenas
DeveloperJeremy Ashkenas
First appearedDecember 13, 2009 (2009-12-13)
Stable release
2.7.0  / 24 April 2022 (24 April 2022)
Typing disciplinedynamic, implicit
OSCross-platform
LicenseMIT License
Filename extensions.coffee, .litcoffee
Websitecoffeescript.org
Influenced by
Haskell, JavaScript, Perl, Python, Ruby, YAML
Influenced
MoonScript, LiveScript, JavaScript

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.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.