Re:Embracing Modern C++ Safely, Book Review
by selimnairb on Monday May 30, 2022 @05:09PM
(#31563648)
Experienced Python, C, and Java programmer here (am also learning Rust on the side). Recently picked up a C++ project at work that targets C++14. I know caveman C++ from my time at University 20+ years ago. My god is there a galaxy of complexity in modern C++. I get the need for some of it (e.g., smart pointers), but for new projects, I can’t see a good reason not to use Rust at this point.
[ Parent
| on HN ]
Not knowing anything about the language as it is today does not recommend your judgment as to how it compares to other languages.
No joke. I used C++98 for a job a while back and got comfortable with it, I asked "hey why don't we use c++14"(this was years ago). The answer was basically, modern c++ is too complex to keep code bases sane without spending a week writing rules and having dozens of meetings, so they opted for the 20 yr old version.
More recently I've learned rust. I haven't missed c++ at all. Even the more modern stuff I've learned later on...