News for hackers. Stuff that matters.
Re:The 2,500 year old history of why Python’s all([]) return... by bandyaboot on Friday August 25, 2023 @03:09PM (#37265892)
Ultimately I agree with the conclusion, but the logic of how you're getting there seems flawed in that the question you're asking doesn't add any value. The fundamental question is whether all marbles in a bag of n black marbles are black for all values of n including 0. If the answer to that question is yes, then the answer to your question is yes. If the answer is no, then the answer to your question is "yes except if it results in n=0".
Re:The 2,500 year old history of why Python’s all([]) return... by saurik on Friday August 25, 2023 @04:32PM (#37266674)
The point was (explicitly) that it would be awkward to add the n=1->0 corner case.