News for hackers. Stuff that matters.
Re:Interview Gone Wrong by ninetyninenine on Monday November 04, 2024 @09:25AM (#42041782)
The problem isn’t meaning or intent its inconsistency of operator behavior.

1 + 1 + 1 has different operator behavior then 1 == 1 == 1. The operations here are not consistent and it’s not clear what happens if I overload the operators.

On the surface level python looks more beautiful. But mathematically speaking python is actually more ugly and more inconsistent with weird rules to make things look a certain way.

There are no comments on this comment yet.