Re:Ask HN: What made you change your mind about a programmin...
by cauthon on Monday March 04, 2019 @01:15AM
(#19299182)
Is there a language that has a better (i.e. more user friendly and decently performant) implementation of iterators and stream processing?
[ Parent
| on HN ]
Re:Ask HN: What made you change your mind about a programmin...
by nanomonkey on Monday March 04, 2019 @12:58PM
(#19303472)
Clojure's stream processing, and sequence functions are worlds better than Python. Clojure's sequences can be lazily evaluated which allows for much more performant computation. And for stream processing you can't beat composable reducer functions.
The user friendliness comes both with how uncomplicated it is to write them, but also how easy it is to process them in parallel (a nightmare in Python).