4 ms·
I don't think the point is "you won't need to learn how these work!"; rather, it's "you don't need to worry about using the normal convoluted ways of dealing wi
by rubergly 15y ago
I don't think the point is "you won't need to learn how these work!"; rather, it's "you don't need to worry about using the normal convoluted ways of dealing with these". It's never claimed that => implies (ha, logic humor) that you don't need to know how this works, just that => helps you deal with a common annoyance found with using this.
- oinksoft 15y agoMy main point is that only those who cannot be bothered to learn the language's finer points (I don't consider these to be amongst them, but as indicated by this blog post, others do) will reap significant benefits from using a tool such as CoffeeScript. Anybody else would be sacrificing too many useful JavaScript-specific tools to justify the benefits of a slightly more expressive language.
- rdtsc 15y ago> the language's finer points I wouldn't call those "finer" points.
- oinksoft 15y agoYou don't read parentheses.
- rubergly 15y ago> Anybody else would be sacrificing too many useful Javascript-specific tools... What exactly do you mean by this? What is there that you can do in Javascript that you can't do in Coffeescript?
- nfarina 15y agoVery much agree. I fully understand the scoping of "this" but that doesn't stop me from hating life every time I have to write "var self=this;". In other languages I can put up with a reasonable amount of pain but "this" and dealing with loops in JS puts me over the edge.