4 ms·
Ask HN: How would you learn C++ today?
There are countless tutorials online and many books as well but it's overwhelming to know which standard to pick. I'm not looking for an authoritative source but rather a good introduction for someone with prior low-level development experience.
- _448 6y agoStart here: https://isocpp.org/get-started https://isocpp.org/get-started https://isocpp.org/tour https://isocpp.org/tour https://isocpp.org/faq https://isocpp.org/faq https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines https://en.cppreference.com/w/ https://en.cppreference.com/w/ If you are looking for books then start with (in the given order) - A Tour of C++ - C++ Primer - Programming: Principles and Practice Using C++ - The C++ Programming Language - The C++ Standard Library: A Tutorial and Reference
- jki275 6y agoI would start with C++11. You get the best of the old capability, along with the niceties of a modern language, and it's supported by most compilers you will encounter. I wouldn't go newer than that just because of compiler support depending on your industry sector.
- anarchyrucks 6y agoDo a bit of Rust and then C++ will make sense after you learn about ownership and lifetimes.
- karmakaze 6y agoBut if you learned Rust, why then learn C++?
- anarchyrucks 6y agoFor work.
- karmakaze 6y agoOut of curiosity, how did you choose C++ to learn? Why not Go, D, or Rust?
- gfs 6y agoI am already familiar with Go and Rust so I want to make myself more employable.
- deleted 6y ago[deleted]
- non-entity 6y agoNo OP, but I'd imagine employability reasons. I enjoyed D but it's been around too long with too little adoption. Rust is probably cool, but hasn't seen a ton of adoption yet and Go only seems to occupy a subset of where those other languages see use.