News for hackers. Stuff that matters.
Re:GoPlus – The Go+ language for data science by pansa2 on Thursday June 18, 2020 @11:01PM (#23570537)
> I'm surprised comprehensions in particular haven't spread to more modern languages.

Comprehensions become unreadable quite quickly - even simple ones have to be read inside-out, and complex (especially nested) ones are much worse.

Most modern languages seem to prefer functional-style methods like `map`, `filter` etc, which are more readable in all but the simplest cases.

Re:GoPlus – The Go+ language for data science by kbd on Thursday June 18, 2020 @11:18PM (#23570605)
> which are more readable in all but the simplest cases.

Except in practice, the vast majority of comprehensions are simple.