Re:CoffeeScript: The beautiful way to write JavaScript
by davepeck on Tuesday March 08, 2011 @03:44PM
(#2302524)
Javascript is understood by most developers these days. CoffeeScript is pretty.
(Edit: I don't think that "pretty" is a bad thing. I just... when is it the most important thing, or even high up on the priority list? Pretty isn't bad, but if it means learning an entirely new syntax and immature toolchain, its value for all but personal projects is unclear to me. I see that others value it differently, and I'm trying to understand why.)
Re:CoffeeScript: The beautiful way to write JavaScript
by gfodor on Tuesday March 08, 2011 @05:30PM
(#2302862)
For competent Javascript developers the learning curve to CoffeeScript is an afternoon tops, because it is Javascript. If you consider that, it essentially becomes a free lunch since now you can express your ideas more clearly than raw JS.
Re:CoffeeScript: The beautiful way to write JavaScript
by davepeck on Tuesday March 08, 2011 @05:48PM
(#2302922)
Interesting. To me, CoffeeScript is emphatically not JavaScript. There are new tools and, well, there's a new syntax. Semantically they may be (almost) equivalent -- but it strikes me as a far stretch to say they're the same, or that developers will treat them the same. I suppose I would feel similarly about HAML, too.
Re:CoffeeScript: The beautiful way to write JavaScript
by gfodor on Tuesday March 08, 2011 @11:15PM
(#2303761)
CoffeeScript syntax is close enough to Python or Ruby syntax that the syntax itself is "instantly readable" and "quickly writable" -- HAML on the other hand is altogether new syntax and much more 'innovative' on that front than I'd argue Coffee is.
I'd be really shocked if you showed a solid Javascript programmer who has written code in a scripting language like Perl, Python, or Ruby a chunk of CoffeeScript code and he/she couldn't easily infer what was going on just by intuition alone.
Re:CoffeeScript: The beautiful way to write JavaScript
by ramidarigaz on Tuesday March 08, 2011 @04:57PM
(#2302745)
You say "pretty" like it's a bad thing...
What do you mean?