News for hackers. Stuff that matters.

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.
( 8 comments | on HN )
Re:Ask HN: How would you learn C++ today? by _448 on Tuesday June 02, 2020 @07:46AM (#23389990)
Start here:

https://isocpp.org/get-started

https://isocpp.org/tour

https://isocpp.org/faq

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

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

Re:Ask HN: How would you learn C++ today? by anarchyrucks on Monday June 01, 2020 @02:39PM (#23382063)
Do a bit of Rust and then C++ will make sense after you learn about ownership and lifetimes.
Re:Ask HN: How would you learn C++ today? by karmakaze on Monday June 01, 2020 @08:22PM (#23385723)
But if you learned Rust, why then learn C++?
Re:Ask HN: How would you learn C++ today? by anarchyrucks on Tuesday June 02, 2020 @08:21AM (#23390193)
For work.
Re:Ask HN: How would you learn C++ today? by jki275 on Monday June 01, 2020 @01:47PM (#23381384)
I 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.
Re:Ask HN: How would you learn C++ today? by karmakaze on Monday June 01, 2020 @08:24PM (#23385738)
Out of curiosity, how did you choose C++ to learn?

Why not Go, D, or Rust?

Re:Ask HN: How would you learn C++ today? by non-entity on Monday June 01, 2020 @11:27PM (#23387089)
No 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.
Re:Ask HN: How would you learn C++ today? by gfs on Tuesday June 02, 2020 @03:31PM (#23395232)
I am already familiar with Go and Rust so I want to make myself more employable.