Relearning C++

So it turns out that a couple of days of revision isn’t enough to become comfortable with a language you last used seriously almost 20 years ago! This was brought home to me in the course of a frankly embarrassing performance on a C++ test in an interview. But at least I now know that there is still a demand for C++ programmers, and it makes sense for me to brush up my skills and go for jobs using the language in which I have the most commercial experience, even if it was ages ago.

A bit of Googling brings up Alex’s LearnCpp.com site as one of the most detailed C++ tutorial sites on the internet, so I’m now quickly working through its content. Although the language is familiar to me, there is still plenty that I’d forgotten, or just half-remembered, or which has been added to the language over the last two decades, especially with C++11.

My current bugbear with C++? The need to specifically declare variables that aren’t going to change as const if you want the complier to know this. Kotlin’s use of val and var respectively (and automatic type inference) for constant and non-constant variables seems so much more convenient!

One comment

  1. Great content! Keep up the good work!

Leave a Reply