r/ProgrammerHumor • • 26d ago

Meme visualStudioIsMakingFunOfMe

Post image
1.2k Upvotes

18 comments sorted by

View all comments

216

u/PostHasBeenWatched 26d ago

Well, it's reasonable sarcasm against someone who believes they need whole int for friends counter. /j

75

u/DarkRex4 26d ago

bool friends = false;

50

u/TheN00b0b 26d ago

Can be negative though.

14

u/AbdullahMRiad 25d ago

denoting enemies

10

u/A96on487 26d ago

He can remove this variable if it's unused

9

u/LuigiWasRight447 26d ago

Yeah all you need is a boolean

3

u/Awes12 25d ago

Nah, just use a constant

5

u/Jealous_Computer_209 25d ago

use a float because you sometimes only have a limb or two of a friend

3

u/No-Finance7526 25d ago

Fortunately, Zig has 0-bit integers

1

u/Gacsam 26d ago

#define friends null ?