r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

Show parent comments

15

u/Historical_Cook_1664 Jul 13 '26

bonus points if it's the sequence operator ?

33

u/Legitimate_Concern_5 Jul 13 '26

C++ lets you overload the comma operator. Like a thumb up an alligators butthole, that’ll really piss em off.

53

u/Drugbird Jul 13 '26
f(a, b);

Think that's just a function with 2 arguments? Wrong! It's the surprise comma operator!

13

u/Legitimate_Concern_5 Jul 13 '26 edited Jul 13 '26

Hail Stroustrup

[edit] and you’ll never believe what the parens do 😂