this post was submitted on 18 Jul 2024
179 points (94.5% liked)

Programmer Humor

32360 readers
856 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.zip/post/19308305

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 months ago

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.

[–] [email protected] 15 points 3 months ago

C++ programmers always let their friends access their private members, so ...

[–] [email protected] 7 points 3 months ago

Judging from how it feels to write the language, it's definitely number 2.

[–] [email protected] 11 points 3 months ago

There's some joke about pointers here that I'm not C++ savvy enough to make.
I'll let you workshop it.