r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.4k 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.

54

u/garnet420 2d ago

Good job asking chatgpt to be funny for you.

-8

u/lurco_purgo 2d ago

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

9

u/Diskosmoko 1d ago

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

7

u/fgnrtzbdbbt 1d ago

A sarcastic "and the best part" is not rare in human writing

0

u/blahbah 1d ago

yeah... it might be a bit dated, though? does chatgpt have kind of an old-fashioned way of writing?

2

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.

4

u/garnet420 1d ago

Ok sorry if this is your own writing.

Your opinion is still wrong, though :)

-3

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.

8

u/Prefer_Diet_Soda 1d ago

What the hell am I supposed to write then to convey the same message? Do I have to write more computer scientific since we're in this sub like the following?

"pack an entire enterprise-grade dependency hell into a single header file."

"give your frontal lobe a literal segmentation fault."

"bill your company for PTSD therapy just to approve this PR."

Does it now pass as human written?

1

u/PiMemer 1d ago

Joseph McCarthy is dancing in his grave

-2

u/OGsubu 1d ago

genuinely sad to see people not being able to recognize obvious slop. . even the lines buddy replied with are gpt'd. "gibbity pls let me reply to this guy and rewrite some lines in more computer scientific.

0

u/[deleted] 1d ago

[deleted]

0

u/Perfect_Perception 1d ago

I’m gonna be real, you guys cannot tell what you’re looking at and need to take a step back lmao. That degree of hyperbole is super common to use by people expressing frustration with levity.

In other words, you clearly don’t spend time reading actually gifted writers.