this post was submitted on 25 Oct 2026
371 points (95.1% liked)

Programmer Humor

33823 readers
1948 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

you are viewing a single comment's thread
view the rest of the comments
[–] richardisaguy@lemmy.world 4 points 2 days ago (3 children)

What makes you think C++ is awful?

[–] iusemybrain@sh.itjust.works 3 points 2 days ago* (last edited 2 days ago)

The intention of C++ was to be C's replacement by adding objects into the programming language while also maintaining the fast compilation and runtime that came with C. In the end it resulted in longer compilation and runtime times (from the millisecond scale to seconds scale), which made it generally unappealing for embedded systems.

On a production code standpoint, if were comparing it to something like python, it is debatable, but there's just a large learning curve associated with the language that could otherwise be avoided with a different OOP language. By trying to accomplish everything, it fails to implement everything well to compete with other languages.

[–] IEatDaFeesh@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

It's painful to learn and set up. Looking at other people's code is horrifying. I looked at a portion of Godot code and the amount of headers defined is actually retarded. A lot of the c++ function names are a remnant of not well thought out ideas. It's also normal to have thousands of lines of code for a small portion of a small project?? The only way I see it being used is through vibe coding. You can't tell me it's easier to look at someone's C++ than their Python project.

[–] Feathercrown@lemmy.world 7 points 2 days ago

Don't most people who use it try to avoid like 90% of the core language features