I No Longer Like Python's Boolean Comparisons


1 or 2 # returns 1, not True
(1 or 1) == True # returns False

You spend half your life doing Boolean algebra and then Python just has to come and mess it all up.

Related Posts

Compactness of the Classical Groups

Derivative AT a Discontinuity

Just because 2 things are dual, doesn't mean they're just opposites

Boolean Algebra, Arithmetic POV

discontinuous linear functions

Continuous vs Bounded

Minimal Surfaces

November 2, 2023

NTK reparametrization

Kate from Vancouver, please email me