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

Programmer Humor

35334 readers
1 users here now

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

Rules:

founded 7 years ago
MODERATORS
 

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

top 3 comments
sorted by: hot top controversial new old
[–] HStone32@lemmy.world 4 points 2 years 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.

[–] fubo@lemmy.world 3 points 2 years ago

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

[–] Hellstormy@lemmy.world 1 points 2 years ago

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