News for hackers. Stuff that matters.
Re:Ruby 3.2.0 Is from Another Dimension by DwnVoteHoneyPot on Wednesday January 04, 2023 @04:29PM (#34251986)
You're effectively saying something like: Canadians prefer Canada. What about the rest of the world?

Once you start adding more "and" to the if-statement in the list comprehension, it becomes a mess. Breaking them down to smaller chunks is required because comprehensions are messy. You are doing smaller chunks due to a shortcoming of comprehensions. Chaining is nice option to have, especially when the chained functions are straight forward.

Re:Ruby 3.2.0 Is from Another Dimension by lcnPylGDnU4H9OF on Wednesday January 04, 2023 @05:54PM (#34253138)
> Map/filter are considered inferior in Python to list comprehensions.

> By who?

> By the Python developers and its wider community.

> You're effectively saying something like: Canadians prefer Canada. What about the rest of the world?

They're actually saying that Python developers prefer one particular way of doing something rather than a different particular way of doing the same thing. You're suggesting that they're saying Python developers (Canadians) prefer Python (Canada).

I don't mean to speak against your broader points, just that this specific call out is mistaken.