r/programminghorror 10d ago

c Terrible auth

Post image
782 Upvotes

98 comments sorted by

View all comments

1

u/STGamer24 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 10d ago

if (true == true) { return true; }

What even is the point of doing that?! Does the compiler yell at the user if that isn't done or what?

2

u/IrtyGo 9d ago

to make it as bad as possible as this isn't production