It's interesting to see how difficult C++ is to teach.
I really really want cpp2 to succeed.
It's interesting to see how difficult C++ is to teach.
I really really want cpp2 to succeed.
[0] I've spent years messing around with python, JS, swift, and various frameworks. However that's been at a pretty naive level, understanding only variables, functions, and some pandas basics, but never any real OOP implementation or DS&A stuff.
Plenty of people around here desperately want to vindicate their personal bets regarding other languages and framworks, and consequently you see a multitude of poorly thought-through strawmen put up to try to denigrate the other choice and, by process if elimination, leave their personal choice as the one true choice.
It's tiring. This obsession some Rust fanatics have regarding C++ drags on for over a decade, and it never changes. If they think it's so great, why waste so much time trying to drag down pseudo-rivals?
It's manageable for trivial examples such as you'd find in a learn-to-code book, but memory management is a huge issue for larger programs. The C++ Core Guidelines are mostly intended as a way of managing these issues in a somewhat general way (while still not going full Rust) and they're extremely complex.
The video I'm talking about shows that it's difficult to right "good modern C++" to avoid pitfalls.
Of course I think it's much better than JS or swift. The immense strength of C++ is that it is an industrial language, it's a standard in the industry, and it has an ISO standard. You can do everything with it, and there a lot of existing code you can use, especially since you can also use existing C code and libraries.