CODIGO
log in

CoffeeScript

AKA coffee, coffee-script

CoffeeScript logo

Summary

CoffeeScript is a programming language that transcompiles to JavaScript, adding syntactic sugar inspired by Ruby, Python, and Haskell to enhance JavaScript's brevity and readability. It features significant whitespace, Ruby-style string interpolation, and implicit return of the last statement.

Paradigms

functional, object-oriented, imperative, prototype-based

Domains

web development, scripting

Key Features

first-class functions, closures, string interpolation, destructuring, lambdas, iterators/generators, modules

Typing

dynamic system, structural typing, weak typing, full inference, runtime checking, aggressive type coercion, no type annotations

Compilation

transpiled

Influenced By

JavaScript, Ruby, Python, Haskell, Erlang

Ratings

Startup time
▊▊
▊▊
▊▊
▊▊
▊▊
Memory usage
▊▊
▊▊
▊▊
▊▊
▊▊
Computation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Compilation speed
▊▊
▊▊
▊▊
▊▊
▊▊
Maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Community size
▊▊
▊▊
▊▊
▊▊
▊▊
Learning resources
▊▊
▊▊
▊▊
▊▊
▊▊
Job market demand
▊▊
▊▊
▊▊
▊▊
▊▊
Learning curve
▊▊
▊▊
▊▊
▊▊
▊▊
Cognitive load
▊▊
▊▊
▊▊
▊▊
▊▊
Syntax complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Semantic complexity
▊▊
▊▊
▊▊
▊▊
▊▊
Memory safety
▊▊
▊▊
▊▊
▊▊
▊▊
Concurrency ease of use
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib maturity
▊▊
▊▊
▊▊
▊▊
▊▊
Std lib size
▊▊
▊▊
▊▊
▊▊
▊▊
Backwards compatibility
▊▊
▊▊
▊▊
▊▊
▊▊
Documentation quality
▊▊
▊▊
▊▊
▊▊
▊▊

File extensions

coffee, _coffee, cake, cjsx, iced

External Links

Status maintenance
Type programming
Created 2009
Designed by Jeremy Ashkenas
Developed by Jeremy Ashkenas
PyPL Index N/A
TIOBE Index N/A
GitHub rank #59

Code Example

Loading...