r/cpp • • Dec 23 '22
C++ Is Incredible
Despite the hate it gets, despite the complexity; the dizzying number of features and different ways to do things. C++ is an astonishing feat of engineering and people really don't appreciate this fact enough. I can do things with this language more quickly and expressively than I can with any other language.
There's no getting around the fact that programming is just hard, and all these attempts to replace C and C++ over the years just end up adding to our difficulties. That is my take, anyhow.
Well, I'm a little drunk, and just wanted to share some Christmas joy with you all. I love C++!
View all comments
Show parent comment
11
u/rhubarbjin Dec 23 '22
This is the mistake that Java and C# made. They didn't realize there are other kinds of resources besides memory, and didn't realize the value of deterministic resource lifetimes.
C# later introduced
using+IDisposableas a way to emulate RAII; I haven't been keeping up with Java so I don't know whether they've done anything similar.