News for hackers. Stuff that matters.
Re:The 2,500 year old history of why Python’s all([]) return... by jayd16 on Friday August 25, 2023 @05:00PM (#37267000)
Its interesting that "for all <is true?>" seems to imply a non-empty set, whereas "for any <is false?>" seems to not make the same implication.

It's certainly misleading in every day speech. On the bright side, all my papers have been published and all of my research funding has been granted.

Re:The 2,500 year old history of why Python’s all([]) return... by Dylan16807 on Friday August 25, 2023 @06:00PM (#37267538)
> "for any <is false?>"

What do you mean here?

"some element doesn't have the attribute" requires a non-empty set.

If you mean "it is false that some element has the attribute", then you need to write that very differently, which makes it much less of a surprise that it has different implications from the "all" statement.