c++ is a mess and you should feel bad for using it
C++ is a mess and you should feel bad for using it
No and you have to be a retard to handicap yourself to C if you don't have to.
what's the alternative?
>inb4 rust
kys
>inb4 c
kys
t. brainlet
alright, name 3 valid reasons for your optinion that can not be easily discarded with a simple counter argument. im waiting.
btw, just because its popular to hate on something doesnt mean you must do that aswell.
C++ has a lot of good ideas, and in isolation it's easy to see why they're useful, but on the whole I feel like it's easy to get lost in the sepplesisms when you're compounding all these things together. Whenever I'm writing C I feel I'm spending more time looking up library function calls, whenever I'm writing C++ I feel I'm spending more time looking up C++ language features and STL calls. Maybe someone more comfortable with C++ doesn't have this problem, though, or maybe it's just because they've developed one out of a million ways to write C++ and just stick to it, it's honestly hard to tell.
OP is right. Only legit use is as C with classes. "Modern" C++ code is full of std::cancer and exceptions which are also cancer. I see a lot of C++ code like a hello world implemented in 500 lines that is a single main with like 20 lambdas made by some fucking genius that way because muh idiomatic. It's almost worse than Java.
C++ doesn't really have that many language features.
I limit myself somewhat to my personal style and if I don't know how something work I will just use a safe way.
How is the stdlib bad? How is a vector bad? How is std::string bad?
don't act like you think that's what anyone is talking about, you know damn well the standard library is more complicated than a few new types.