Hacker News new | ask | show | jobs
by danpalmer 2060 days 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.
2 comments

It’s certainly possible to make itertools-like stuff in Javascript.

https://observablehq.com/@jrus/itertools

Seems like slice operator is more like Syntactic sugar for substring?
I'm not the author of the comment you're replyin to, but doesn't that fall under the worse ergonomics argument?
I 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.