4 ms·
It has made it better, but things like slice operators are still missing, which can help a lot, Set/Map types aren't that great to use and aren't used much in p
by danpalmer 6y ago
It has made it better, but things like slice operators are still missing, which can help a lot, Set/Map types aren't that great to use and aren't used much in practice, and there are still lots of sharp edges for newcomers even with simple things like iteration. That's also not mentioning things like the itertools/collections modules in Python which provide some rich types that come in handy.
- jacobolus 6y agoIt’s certainly possible to make itertools-like stuff in Javascript. https://observablehq.com/@jrus/itertools https://observablehq.com/@jrus/itertools
- 0df8dkdf 6y agoSeems like slice operator is more like Syntactic sugar for substring?
- mikedelfino 6y agoI'm not the author of the comment you're replyin to, but doesn't that fall under the worse ergonomics argument?
- danpalmer 6y agoI am the author, and yes this is exactly the sort of thing I mean. Python/Ruby are far more expressive for these sorts of data manipulation tasks.