CompassRed

joined 2 years ago
[–] CompassRed@discuss.tchncs.de 17 points 2 months ago

It's not the same, and you kinda answered your own question with that quote. Consider what happens when an object defines both dunder bool and dunder len. It's possible for dunder len to return 0 while dunder bool returns True, in which case the falsy-ness of the instance would not depend at all on the value of len

[–] CompassRed@discuss.tchncs.de 1 points 7 months ago (1 children)

Python and Java are barely comparable. I adore both languages equally and use them about the same amount at work. They are just different tools better suited to different tasks.

[–] CompassRed@discuss.tchncs.de 0 points 2 years ago (2 children)

I don't recall any socialized courier or food delivery services.