Re:Poll: Have you moved from JavaScript to CoffeeScript?
by bruth on Wednesday June 22, 2011 @12:01PM
(#2683723)
Re:Poll: Have you moved from JavaScript to CoffeeScript?
by 3pt14159 on Wednesday June 22, 2011 @12:06PM
(#2683743)
Interesting. I'd gone through the first link before, but the second is quite good. Still doesn't change the fact that most libs you are using are written in JS (not to mention a whole new platform, the browser) and therefore harder to Google for, but thanks for your help.
Re:Poll: Have you moved from JavaScript to CoffeeScript?
by dualogy on Wednesday June 22, 2011 @12:07PM
(#2683750)
2 days? Give it 2 weeks and you won't look back. I do think it's more suitable to writing a "new big app from scratch" -- fixing up some consulting client's website with some new JS widget and 5-20 lines of integration scripting or some such isn't the use-case where CoffeeScript gives you a notable advantage.
Re:Poll: Have you moved from JavaScript to CoffeeScript?
by bruth on Wednesday June 22, 2011 @12:12PM
(#2683787)
> "actually using libraries is a pain"
Maybe that is your source of confusion.. when you write CS code, you can use any existing JS library. The syntax is just different for what you write.
Re:Poll: Have you moved from JavaScript to CoffeeScript?
by ricardobeat on Wednesday June 22, 2011 @07:09PM
(#2685813)
You should really learn Javascript first. Coffeescript is not (yet) a replacement for it, more like a tool.
Here is my problem. Nothing is Google-able. Even basic things that I get caught up on the answer on IRC is usually "look up how to do it in JS, and then reform it to CS". Maybe I'm starting on the wrong stuff, but even though the syntax is wonderful, actually using libraries is a pain. I'm only on my 2nd day though, so maybe this is just the normal language growing pains.