Elektrine lite

← Feed

@richardisaguy@lemmy.world

2026-10-25 19:22 UTC

What makes you think C++ is awful?

Replies (3)

  • @Feathercrown@lemmy.world 2026-10-25 21:51

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

    Open ##5245318

  • @iusemybrain@sh.itjust.works 2026-10-26 14:24

    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.

    Open ##5256160

  • @IEatDaFeesh@lemmy.world 2026-10-26 16:15

    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 making is 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.

    Open ##5257316