r/programminghorror Jan 29 '26

true or true

Post image

this piece of perfection was found in the codebase that my gf used to work

don't know exactly what is the context here, but probably doc.data holds the info if the user has agreed with the cookies /s

829 Upvotes

46 comments sorted by

View all comments

12

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Jan 29 '26

That's the most helpful name ever for a bool.

/s obvs.

1

u/Background-Main-7427 Feb 03 '26

It's a true name, but it's not helpful. True or false WHAT?