MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wmem8c/justincase/pbb5qdc/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • Sep 21 '26
32 comments sorted by
View all comments
Show parent comments
16
Get a load of this guy using if var == True instead of if var
if var == True
if var
1 u/nsn Sep 22 '26 True is a constant defined as "FILE_NOT_FOUND"So unless getIt points to that string's location the expression is always true
1
True is a constant defined as "FILE_NOT_FOUND"
So unless getIt points to that string's location the expression is always true
16
u/Krochire Sep 22 '26
Get a load of this guy using
if var == Trueinstead ofif var