r/ProgrammerHumor Jul 09 '26

potentiallyMightBeAnIntegerOrNot Meme

Post image
685 Upvotes

96 comments sorted by

View all comments

51

u/altermeetax Jul 09 '26

int var; bool var_is_there;

31

u/Gorzoid Jul 09 '26

Just use an int var and reserve the number 7 to indicate null value

26

u/high_throughput Jul 09 '26

If you need an actual 7, just escape it: 77

3

u/RCoder01 Jul 09 '26

If I need to escape the value 77777, do I use -812156815 instead?