Re:C++ Anti-Patterns
by carlmr on Friday January 22, 2021 @04:52PM
(#25876740)
I completely agree with you, I'm programming in C++ in my job and I've dabbled in Rust a bit. The issues in C++ are 90% ones that you wouldn't have in Rust
However my reply to the higher up comment was because you can't switch every project away from C++. I think it's a good idea to start most projects where you would have picked C++ in Rust now, just that it's infeasible for a lot of code, given the mountains of code that exist in C++.
Also plenty of code needs certifications that just don't exist for Rust yet.
So saying C++ is an anti-pattern is kind of correct, but it doesn't help you if you have to deal with it.
However my reply to the higher up comment was because you can't switch every project away from C++. I think it's a good idea to start most projects where you would have picked C++ in Rust now, just that it's infeasible for a lot of code, given the mountains of code that exist in C++.
Also plenty of code needs certifications that just don't exist for Rust yet.
So saying C++ is an anti-pattern is kind of correct, but it doesn't help you if you have to deal with it.