Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thisisyuu
on May 2, 2020
|
parent
|
context
|
favorite
| on:
Why does `True == False is False` evaluate to Fals...
Someone writing code like these, his life is sad.
raylu
on May 2, 2020
[–]
IIRC, I originally had 2 expressions that evaluated to booleans that I was comparing. I don't remember if I had parens, but I do remember being deeply confused once there were no parens.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: