News for hackers. Stuff that matters.
Re:Go 2 Draft Designs by thiht on Wednesday August 29, 2018 @08:23AM (#17867647)
> Python's list comprehensions (in turn inherited from Haskell) look very nice

Do they? I find them hard to read and hard to chain. I tend to prefer basic map, filter, reduce methods

Re:Go 2 Draft Designs by krylon on Friday August 31, 2018 @05:48PM (#17888800)
Mmmh, that is a good point. I never used nested list comprehensions, to be honest, and I have not used Python in a couple of years. For non-nested cases, they are very nice, though.

OTOH, I never used nested map/remove-if constructs in Lisp, because that, too, can get rather annoying to read.