4 ms·
Learn Rust. I'm serious. The Rust compiler will teach you concepts you need to understand to be an effective C++ developer, like moves versus copies, working w
by ilovecaching 8y ago
Learn Rust. I'm serious.
The Rust compiler will teach you concepts you need to understand to be an effective C++ developer, like moves versus copies, working with type variables, working with smart pointers, etc.
You could learn these things in C++, but it will be much harder. The Rust compiler error messages are much nicer, and certain features like type variables are at a higher level of integration than equivalent features in C++ like templates. The borrow checker will also teach you how to write hygienic C++ which is something that will take you years to master on your own.
Lastly, Rust's tooling will keep you focused on learning the language rather than fiddling with C++ build systems.
- entelechy 8y agoI strongly agree. Think of Rust as a very opinionated and functionally flavoured version of c++. Also I recommend looking into F#, Haskell and Clojure.