CoffeeScript

December 25th, 2009

CoffeeScript is a little language that compiles into JavaScript. Think of it as JavaScript's less ostentatious kid brother — the same genes, roughly the same height, but a different sense of style. Apart from a handful of bonus goodies, statements in CoffeeScript correspond one-to-one with their equivalent in JavaScript, it's just another way of saying it.

CoffeeScript. Very cool.

CoffeeScript provides a new, clean, and elegant syntax for that JS we are familiar with. Brought to you by Jeremy Ashkenas, one of the developers who are responsible for underscore. Still alpha and not recommended for your next serious project, though.

JavaScript has increasingly become the target language for a variety of compilers, but so far none of them have gained wide popularity. What is holding them back? I think that the thought of debugging compiled JavaScript is scaring developers off. ParenScript attempts compiling readable code with variable names in tact and white-space preserved; this seems to be the route CoffeeScript is following as well. Is this enough to keep debugging from being a nightmare?

See also:

PS: There is a whitespace-significant experimental branch in the works. Cool.

« Previous Entry

Next Entry »

View Comments


Recent Entries


setTimeout Patterns in JavaScript

On August 10th, 2010


ParenScript is an Acceptable Lisp

On August 2nd, 2010


TryParenScript.com

On July 23rd, 2010


In response to "A JavaScript Function Guard"

On July 19th, 2010


My Notes from John Resig's "jQuery Hack Day" Talk

On July 5th, 2010


Announcing Pocco

On June 29th, 2010


Yet Another Lisp

On June 25th, 2010


Recent Happenings: All Play and No Work

On June 21st, 2010


Arguments.callee considered extraneous

On June 2nd, 2010


Javascript, "bind", and "this"

On May 20th, 2010


Creative Commons License

Fork me on GitHub