News for hackers. Stuff that matters.
Re:Kaffeine: extended Javascript by vnorby on Thursday May 12, 2011 @04:40AM (#2539848)
Why use this over coffeescript?
Re:Kaffeine: extended Javascript by BasDirks on Thursday May 12, 2011 @05:32AM (#2539937)
Agreed, CoffeeScript is much more extensive, and in most cases (from what I can see) prettier. Kaffeine piping seems cute though. Maybe the author could join forces with the CoffeeScript project?

Note on CoffeeScript: it took me _one_ .coffee script to get used to the syntax, and I'm never ever gonna write vanilla JS again if possible.

Re:Kaffeine: extended Javascript by jashkenas on Thursday May 12, 2011 @08:35AM (#2540325)
weepy is actually a contributor to CoffeeScript from the early days. Kaffeine represents his take on what a little language that targets JS should look like.
Re:Kaffeine: extended Javascript by nibnab on Thursday May 12, 2011 @01:09PM (#2541347)
I've often wondered what 'little' in the CoffeeScript tag line meant ? Do you mean that it's terse ?
Re:Kaffeine: extended Javascript by weepy on Thursday May 12, 2011 @06:22AM (#2540051)
Don't think that CoffeeScript is much more extensive - Kaffeine has most of the features. Other advantage is that the output Javascript is very similar to the input, unlike Coffee where there's various implied closures and magic T_T
Re:Kaffeine: extended Javascript by BasDirks on Thursday May 12, 2011 @07:31AM (#2540179)
I like the fact that CoffeeScript does some magic for me. I know exactly 'what' the magic does, and I don't mind CoffeeScript taking care of it for me.
Re:Kaffeine: extended Javascript by alnayyir on Thursday May 12, 2011 @01:02PM (#2541318)
Ruby dev eh? ;)
Re:Kaffeine: extended Javascript by faceplant on Thursday May 12, 2011 @07:03AM (#2540124)
a) does line-for-line output so it's easier to debug b) can handle normal JavaScript, so it melds with existing code c) progressive enhancement, adopt features at your own pace d) the option to shadow variables using var e) declared function support

AFAIK the creator did work on CoffeeScript for a while but decided to go in a different direction.

There are plenty of different alternative JavaScript dialects out there, from new ones like Kaffeine to ports of popular languages. http://altjs.org/