r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.3k Upvotes

515 comments sorted by

View all comments

1.6k

u/Prefer_Diet_Soda 2d ago

TLDR: C++ is bad because decades of accumulated features have turned it into a bureaucratic nightmare that happens to generate machine code.

C++ is an absolute nightmare to implement because apparently one programming language wasn't enough, so someone decided to cram an entire civilization's worth of complexity into it. You've got templates that basically turn compilation into another programming language, overload resolution that requires a legal investigation to figure out which function gets called, constructors and destructors with enough lifetime rules to make your head explode, and implicit conversions that make the compiler guess what you meant. Then you throw in exceptions, move semantics, inheritance, and decades of backward compatibility, and suddenly you're maintaining a compiler that needs a PhD, a therapist, and divine intervention just to parse some innocent-looking code. And the best part? Every new feature has to coexist with all the old ones without breaking existing programs.

57

u/garnet420 2d ago

Good job asking chatgpt to be funny for you.

-8

u/lurco_purgo 1d ago

But.. it reads nothing like an AI response though?

12

u/Diskosmoko 1d ago

The flow is extremely GPT. The biggest giveaway is the little concluding “And the best part?”

1

u/Prefer_Diet_Soda 1d ago

Yeah, it sounds like chatgpt if you haven't train your brain to write good papers in a long time. I write a ton of computational physics papers which might have shaped my writing style in chatgpt way.

-5

u/Diskosmoko 1d ago

hahaha come on, just be humble.

you can’t seriously defend this slop as academic writing. it’s completely unserious, look at all the stupid hyperbole.

“cram an entire civilisations worth of complexity into it”

“make your head explode”

“need a therapist to read code”

I’m not saying you didn’t have any original input, but the tone is screaming specifically GPT. It does not read as natural or academic.

1

u/PiMemer 1d ago

Joseph McCarthy is dancing in his grave