News for hackers. Stuff that matters.
Re:Interview Gone Wrong by stavros on Monday November 04, 2024 @06:22AM (#42040538)
This is true, and, in this case, "confusion avoided" and "what Python does" coincide. The "double equals doing the right thing" is only confusing if you're both unfamiliar with Python and familiar with language design, which is a very small set of people.

People unfamiliar with programming will assume that "if a == b == c" is only true if all three things are the same, and people familiar with Python will know that that is, indeed, what it means.

There are no comments on this comment yet.