2 ms·
I've used list comprehensions in Haxe, but not much more than in tests to try them out. I haven't yet had an opportunity to use them as best solution for the j
by Lerc 12y ago
I've used list comprehensions in Haxe, but not much more than in tests to try them out. I haven't yet had an opportunity to use them as best solution for the job.
It's not that I'm against either func or comprehensions in principle, it's more that they are a departure from JavaScript. My preference would be for a JavaScript[FIXED] than a complete style change.
For something with "all the features" that compiles to JavaScript I prefer Haxe, but for something that has squishy dynamic and prototypey feel of JavaScript (which spider seems to be going for) I think I would want it to resemble JavaScript a bit more, if for no other reason to pretend that they got it right the first time.