Is "C++ bad" a meme?

>>92897162 (OP)

obviously

C++ can do everything C can

the STL has some great stuff, and also some shitty stuff, but you can use whatever you want or don't want



the engine i work with uses both C++ and C

each have their uses

If it's a meme it's a meme that's very popular with C++ programmers

>>92897162 (OP)

Yes it's bad, but modern c++ has improved it. With modern c++ templates no longer look like an abomination and unique_ptr, nrvo, etc makes it cleaner. However there are still some annoying things such as all of the different types of constructors that a class can have that you have to override all properly to make a class work properly if you are trying to wrap C code for example.

>>92897162 (OP)

Is "'C++ bad' is a meme" a meme?

>>92897162 (OP)

yes, some retards are intimidated by its vastness and moan about how it's constantly mutating, but it's great to have it modernized and at least front an attempt at hopping on the syntactally reductive train to cater to some babies' masturbatory obssession with simplicity.

I alternate between C and C++ depending on the project, however, typically tend to lean towards C since I like to be given less tools to work with as self-challenge, but sometimes it's insurmountable.

>>92897162 (OP)

yeah



The main legitimate complaint about it is that because it's so big and you can't learn it all, if you and a coworker are using different subsets then you can't understand each others' code very well, which is bad for obvious reasons.

But this isn't actually a legitimate complaint, and if you have this "problem" you need to stop being a spineless social retard and get your coworkers to agree on one subset that you all use. Problem solved.



So it's actually the perfect programming language that lets you do whatever you want.

Is "Is "'C++ bad' is a meme" a meme" a meme?

>>92897162 (OP)

No. C++ is really bad and no one can do anything about it because it's so rigid and prolific. If you were to fix everything wrong with C++ you'd end up with a completely different language.

>>92897162 (OP)

Could something like cargo be made for c++?

"Is "Is "'C++ bad' is a meme" a meme" a meme" a meme?

>The main legitimate complaint about it is that because it's so big and you can't learn it all

The main legitimate complaint is that it is a language entirely made out of pieces that interact with each other weirdly. Each little bit has a reason, but the overall result is often intensely confusing and annoying in surprising ways.

Reddit tier humor, kys

>>92897162 (OP)

the syntax is bad (imo) and there are still a lot of useful features missing, but it's a good usable language that's unfortunately too overwhelming to get right for an average joe programmer. so yea, a meme

Even if you use a small subset of C++ the compiler writers have to implement the abomination in whole, which not only takes an enormous amount of time but also leaves an enormous amount of room for bugs compared to something like C. This alone is a decent reason not to use it.

out-of-order designated initialization, nested designated initialization, mixing of designated initializers and regular initializers, and designated initialization of arrays are all supported in the C programming language, but are not allowed in C++.
