Hacker News new | ask | show | jobs
by CyberFonic 4746 days ago
I tried to use CS first and found that I needed to really understand JS in order to debug stuff that didn't work, and you get a lot of that with DOM.

So I've learnt a fair bit of JS and now I just can't be bothered to write in CS, JS is really not that bad if you understand that JS is NOT class-oriented and CS ends up only obscuring reality, not altering it. Which brings me back to why I had to learn JS in the first place.

1 comments

It's not like CoffeeScript really forces you to use classes. It's not an object-oriented language. It's just Javascript with a ruby-like syntax. Even the class keyword is just some monkey-patching (and a commonly-used method of doing it) of the prototype system to support some pseudo-inheritance.

100% of what you learn in CoffeeScript is applicable to Javascript, and viceversa. The real pain, is like you said, debugging applications. I can't just write coffeescript into the console, not even a little`console.log`which is infinitely nicer without the parentheses.