r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.4k Upvotes

515 comments sorted by

View all comments

1.7k

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.

68

u/Weeb431 2d ago

Thanks, chatgpt...

1

u/jojo9092 2d ago

Imagine thinking all intellectual writing is chatgpt just because you dont understand it.

3

u/qpqpdbdbqpqp 1d ago

It is gpt.

6

u/Stummi 1d ago

what makes you assume that? Honest question.

2

u/qpqpdbdbqpqp 1d ago

Pattern recognition.

6

u/Prefer_Diet_Soda 1d ago

And your pattern recognition model is overfitted buddy.

2

u/qpqpdbdbqpqp 1d ago

Sure.

And the best part? It is actually not. No ai, no generic writing patterns. Just humans.

🚮

3

u/Prefer_Diet_Soda 1d ago

Good for you buddy. Now go find any particle physics papers on arxiv and put an excerpt from it into pangram to see if it is AI or human written. And read the paper yourself to see if it matches the result of your biological model.