C++ programmers always let their friends access their private members, so ...
this post was submitted on 18 Jul 2024
175 points (94.4% liked)
Programmer Humor
32721 readers
448 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
There's some joke about pointers here that I'm not C++ savvy enough to make.
I'll let you workshop it.
Judging from how it feels to write the language, it's definitely number 2.
I want to point out that, just like in real life, its the inclusion of that "++" which complicates things. Without them, it would be straightforward and elegant, having only 1 logical solution.
Makes you wonder why people keep insisting on having the "++" around. Why not ditch them and go back to basics.