Intro to CoffeeScript
aseemk.com
Intro to CoffeeScript
1–10 of 95 posts
Re: Intro to CoffeeScript
#2Re: Intro to CoffeeScript
#3Is CoffeeScript used much outside of Rails? If not, wouldn't it be a better idea to focus on mastering javascript so it applies globally?
Re: Intro to CoffeeScript
#4Is CoffeeScript used much outside of Rails? If not, wouldn't it be a better idea to focus on mastering javascript so it applies globally?
Re: Intro to CoffeeScript
#5This is a mildly insulting, as is the invocation of Blub.
CoffeeScript doesn't have a ton of exotic features. String interpolation, list comprehensions, and class definitions (!) are all familiar to programmers from other languages.
I'm guessing that a lot of people have weighed CoffeeScript's feature set against its overhead and decided the trade just isn't worth it.
Re: Intro to CoffeeScript
#6Is CoffeeScript used much outside of Rails? If not, wouldn't it be a better idea to focus on mastering javascript so it applies globally?
The presentation is very well put together, but CoffeeScript is a hack built on top of JS in order to use Ruby semantics. You're correct in that it's not really used outside of Rails, and not knowing JS proper (not that I personally recommend using it for much more than jQuery and a couple other libraries, when you absolutely must) poses a problem for when someone runs into the 97% of code that is JS.
Re: Intro to CoffeeScript
#7Re: Intro to CoffeeScript
#8Is CoffeeScript used much outside of Rails? If not, wouldn't it be a better idea to focus on mastering javascript so it applies globally?
It's quite useful outside of rails in that sense I'd say. It could have just as easily been done in JavaScript but I'm not a fan of the syntax(fuck curly braces)
I'd maintain that just about anything out there can be used outside of the context you think of it in.
Asking if coffeescript is useful outside of rails is similar to asking is perl is useful outside of scripting, it's a poor and misguided conception that languages can only be used in a certain way or with a certain tool.
I'd say that's true much more often than not that if you know a language well you can build complex applications with it.
Re: Intro to CoffeeScript
#9Is CoffeeScript used much outside of Rails? If not, wouldn't it be a better idea to focus on mastering javascript so it applies globally?
Re: Intro to CoffeeScript
#10There will have to be CS2 that introduces new semantics and old apps will have to be migrated.