8

Obligatory I hate C++ rant

And no, I don't care what anyone has to say, you have to be masochistic to enjoy working with this crap

Comments
  • 8
    It's up to the developer to decide if they write gold or crap with c++. The language allows either option.
  • 5
    @electrineer the language itself, and more so the tooling around it is what I would call awful to work with

    The quality of the code others write is like playing Russian roulette except only 1 slot doesn't have a bullet in it
  • 2
    @electrineer the language is not clean imo. Even the best gold will be covered in dirt.
  • 2
    I guess you've never managed to know C++ is the first place.
  • 2
    @halfflat idk if I'm still in the first phase or if I skipped the second one....
  • 3
    The rule of 0/3/5 is a nice example of how much of a pain in the neck C++ can be (and is, honestly) to work with

    https://en.cppreference.com/w/cpp/...
  • 2
    @halfflat I usually work with a subset of the language. Less exposure to the really WTF parts. Sometimes reading other peoples' code I wonder about their life choices. There is some really "interesting" code out there.
  • 2
    @12bitfloat I needed that but I don't like the fact that I did.
  • 1
    All that templating syntax is ugly
  • 2
    C++ comes with the huge benefit of plausible deniability of intent when it comes to backdoors:
    It is ultra easy to purposefully include an RCE in the code for which it is impossible to prove intent from just looking at the source.
  • 1
    @Oktokolo I really like Musk’s inatruction on not so obvious abbreviations. What the hell is RCE?
  • 2
    @aviophile
    Remote Code Execution.
    That is the most dangerous exploit class. It also is the only exploit class that can almost completely be downgraded to DoS (Denial of Service) by just using a memory-safe language...
  • 1
    Not masochistic, once you understand enough of that mess it's enjoyable to work with.

    At least that's my humble opinion
Add Comment