5 ms·
You can't talk about coffeescript without talking about JavaScript, and that's the whole point of coffeescript: "it's just JavaScript". You need to know both la
by secoif 15y ago
You can't talk about coffeescript without talking about JavaScript, and that's the whole point of coffeescript: "it's just JavaScript". You need to know both languages to use it effectively.
- Volpe 15y agoI don agree with that. Sure knowing JavaScript is helpful in debugging. But you can be very effective with coffeescript without knowing too much about JavaScript.
- secoif 15y agoI guess you could, but you'd be making life harder for yourself, and other developers. Consider a website mockup by a designer with html/css experience and one without: the one with no html/css experience may be designing a total headache, and be completely oblivious to that fact.
- kevinpet 15y agoYou can't talk about javascript without talking about the execution environment, object system, and so on, which happens to be shared with javascript, but there is no more reason to discuss javascript when talking about coffeescript than to talk about the assembly-like output of javap when talking about java. Coffeescript has a different syntax than javascript, and it is totally pointless to say "you don't need to type 'var'". It would be better to talk about how scoping works in coffescript. It happens that everything that's been written about coffeescript so far is about convincing javascript users to switch or helping javascript users to switch. That's not the only way.