3 ms·
I made the move from Java to C++ at one point in my career. I'd actually programmed C++ before Java, but it had changed so much it was almost like starting agai
by jdswain 11y ago
I made the move from Java to C++ at one point in my career. I'd actually programmed C++ before Java, but it had changed so much it was almost like starting again. The language itself is not that hard to pick up, but at the time I kind of found the memory management aspect daunting. It wasn't as bad as I'd made it out to be in my head though.
I've always learnt from books, and there are a lot of good C++ books. Reading a few of them and then some practical experience, maybe with a side project, should be the best way to get started, especially as you are already an experienced programmer. That's what I'd do anyway.
Make sure you choose modern C++ books as the language has evolved a lot, and you don't want to be learning outdated ways of doing things.
The library code is another thing that is quite different to the Java world, there are many good frameworks, but they all tend to manage memory differently, have different conventions, and sometimes even have different string implementations. That's just a fact of the C++ world, but it is getting better all the time.
Also, I started out using http://pocoproject.org/ http://pocoproject.org/, and that gave me a lot of examples on how to do things well, it suited me as it matched my view of good OO programming, but there are a lot of opinions on that one too.
- daemin 11y agoFor Modern C++ I found this video https://youtu.be/YnWhqhNdYyk https://youtu.be/YnWhqhNdYyk interesting in regards to the topics she chooses to teach people new to C++.