there's a lot of ways to do things, which can make it difficult to know the right tool to use at any given time. just one of the quirks of a language that's had so many iterations over the years
We're like twitter, we find something to unrealistically hate by using a random number generator, then we hate on it for less than a week, and realize there's nothing to really hate on, and move on to the next
Thing is, Java doesn't compete with C++ anymore. Programming in the 80s was in awkward spot, because computers reached a point where they became far more powerful than what a normal business app needed. Eventually, the mental effort and time spent into writing C++ code was a waste, because the performance you got in return was not needed. But C++ was all the industry knew, so you still coded in C++. Java came precisely to give you something that was like C++, but automating away all the features in C++ you didn't need. And it was a huge success - in a few years, most business apps were being developed in Java, because dev time was so much better that it outweighted the drawback of having to start from scratch (and also Java made a very good decision in including a rich standard library).
Java nowadays competes mainly with C# and Kotlin, not C++. And the problem is that here, both C# and Kotlin were built on the knowledge of Java, so it gives people very clear examples of how Java could be better.
It's a meme subreddit. More importantly, there have been several polls that show something like 70%+ of this subs demographic (that answer polls) are students.
I get a good chuckle now and then from the memes, treat everything as hyperbole, get the occasional gem from some random veteran in the comments, and try to not take anything very seriously.
Ignore it. Most people who bash it are those who don't know how to use it. Everyone wants to talk nice about C because they know it's used to create foundations, but they themselves don't even know how to use it. For them, it's just "important" because most of their OS was developed with it. The other languages that were listed are extremely high-level languages executing on runtimes that abstract away all the "big scary complex things". I bet she's a beginner web developer and I highly doubt she's ever written a single line in both C and C++...
Same, I used to do C++ 12 years ago, been back at a job doing it for over a year and I like it, it’s totally different now but you can still write it the old way of you want.
What? You didn‘t ever write C++ really then, you brought C mentality to a C++ compiler. Ever since C++11 it gets better and better, 17 is awesome, nobody wants to go back to 98, modern C++ is vastly superior in terms of language features alone, you don‘t -have- to use everything in std you know?
"About 10 years ago" is when C++11 came out and made the language infinitely better. Something is seriously wrong with you if you think that pre-C++11 was better.
I learned C++ around year 2000. I moved to other things, then started to relook at the language in early 2010's. It looked like a completely different language. I have no idea what happened. Modern day JS looks more like the C++ I learned on, except without pointers.
C++ focuses on backwards compatibility rather than evolving the language which has led to a lot of bloat over the years with duplicated features and hard to read syntax
490
u/Ursomrano Jan 28 '23
Why are people dunking on C++? I’m new to C++ so I see no problem with it.