Hacker News new | ask | show | jobs
by jashkenas 4152 days 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

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.

3 comments

Thank 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.
^ To those not in the know, the above poster 'jashkenas' is Jeremy Ashkenas, the creator of CoffeeScript and Backbone.js
Only five years ago since the original announcement: 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.