3 ms·
One thing JavaScript gets very right is first-class functions. There's nothing bolt-on about those. It makes it very easy to tolerate warts (which don't come up
by Touche 11y ago
One thing JavaScript gets very right is first-class functions. There's nothing bolt-on about those. It makes it very easy to tolerate warts (which don't come up often anyways).
- douche 11y agoPiss poor string handling functions out of the box? Shitty date/time implementations (unless you're using moment) Callback hell? That's just my list for this morning.
- Touche 11y ago> Piss poor string handling functions out of the box? Don't know what you mean by this. As for the other things; like I said, getting first class functions right makes those other things unimportant. Are you running into the problems with DateTime that often? I can't even remember what those problems are. I don't doubt they exist, but I think you're over-inflating the importance.
- Drup 11y agoThey are not "very right" due to all the scoping weirdness and the late binding semantic.