3 ms·
Folks, this was always part of the plan ;) CoffeeScript is a fun little experiment in what's possible when you take JavaScript semantics and try to boil down t
by jashkenas 12y ago
Folks, this was always part of the plan ;)
CoffeeScript is a fun little experiment in what's possible when you take JavaScript semantics and try to boil down the user interface to a minimalist surface. But JavaScript will always keep on rolling onwards — and to the extent that future versions of JavaScript take any minor inspiration or reference or overlap with things that CoffeeScript already does, the more the better.
For example, see this talk from four (!) years ago: https://www.youtube.com/watch?v=QTj6Q_zV1yg https://www.youtube.com/watch?v=QTj6Q_zV1yg
There's more than one way to skin the JavaScript cat.
In other news, CoffeeScript 1.9.0 came out yesterday — with support for ES6 generator functions. A-la Python, in CoffeeScript, a generator is simply a function that "yield"s.
- tsax 12y ago^ To those not in the know, the above poster 'jashkenas' is Jeremy Ashkenas, the creator of CoffeeScript and Backbone.js
- ffn 12y agoThank you jashkenas-sama, please keep the good works with coffee (and underscore, backbone, etc.). We Rubyists and Pythonians are all (well, at least I am) eternally grateful to you for having delivered us from the evils of brackets, parenthesis, if !condition, and that thing were we had to firstArg = [].prototype.slice(arguments, 1) in every function where we needed splats.
- danso 12y agoOnly five years ago since the original announcement: https://news.ycombinator.com/item?id=1014080 https://news.ycombinator.com/item?id=1014080 > * CoffeeScript is an attempt to expose the good parts of JavaScript through syntax that favors expressions over statements, cuts down on punctuation noise, and provides pretty function literals.