3 ms·
That's the nature of the craft. If you go down the road of eradicating all the things that are a little bit sloppy and inelegant, you eventually end up with som
by golergka 2y ago
That's the nature of the craft. If you go down the road of eradicating all the things that are a little bit sloppy and inelegant, you eventually end up with something like Haskell (with a lot of extensions) and lose most of other developers along the way.
- vundercind 2y agoSee, iterators [edit: and “yield” in general] feel Haskelly to me. Then again I can only understand key Haskell concepts when they’re explained using any of several other languages (then they’re typically very easy to understand) so maybe I’m not the best judge of what is or is not Haskell-like.
- remexre 2y agoKinda funny, given that the Haskell iterator solution is "convert your data to be a list, and the optimizer and RTS will do the right thing as if it were an iterator."
- xiao0 2y agothat sounds like a good thing
- golergka 2y agoRight until you have to hire.