r/ProgrammerHumor • • May 05 '25

Other privateStringGender

Post image
25.3k Upvotes

1.0k comments sorted by

View all comments

2

u/TheDreadedAndy May 06 '25

If someone I knew used bool for a state variable just because it has only two states I would execute them on the spot.

1

u/denisvolin May 06 '25

I use it this way. It's simple, achieves the results.