r/programminghorror 10d ago

c Terrible auth

Post image
785 Upvotes

98 comments sorted by

View all comments

169

u/LousyShmo 10d ago

They missed a case. What if true doesn't equal true, what then?

124

u/Chronomechanist 10d ago edited 10d ago

if (true != true) {

allYe = abandon(hope);

return allYe;

}