Less fucked-up than Javascript.

Less fucked-up than Javascript.

For those needing help the code is:
using namespace std;
int main()
{
while (true)
{
cout << 'e';
cerr << 'e';
}
return 'e';
}
Anyway, my opinion: c is the best thing to ever exist, and c++ is evil
Yeah. I kept reducing my sane "C with classes" subset until I just ended up back writing C99 too, and just about the only difference that made for my use case was better compilation times. If I ever need more than that, I'll likely reach for Zig or C3 before C++.
No. I don't find it a particularly nice language to work with, but there's no reason to fear it. Just make sure you know what you're doing if/when you use it.
If anyone is starting to learn C++, make sure to use books or training materials based on C++11 or later.
Even C++11 is pretty old. I would recommend at least C++17
As someone who last touched any C++ books when C++11 was very new and has only written like 20-30 lines of non-tutorial C++ since then, what are some significant changes to the language that I should be aware of if I wanted to give it a try now?
A few examples:
std::pair<int, int> myPair{ 1, 2 }, you just write std::pair myPair{ 1, 2 }[](auto it){ /* do something */ })const char*
all 35 comments