Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I used to write C++ extensively between 8 and 10 years ago. I have since moved o

ID: 652685 • Letter: I

Question

I used to write C++ extensively between 8 and 10 years ago. I have since moved on to C# for professional reasons. However, from time to time I see statements like

"If you're still manually tracking pointer references, you're doing it wrong"

or

"C++ is perfectly safe as long as you're using modern concepts like RAII and not manually allocating memory like a recovering C developer."

Both of those were standard procedure a decade ago. I have seen that C++ has been improved considerably in recent times; C++ 0x in particular seems like it has some new capabilities. What's the best resource for a "C/old C++" programmer to get caught up on "modern" C++ patterns and practices?

Explanation / Answer

It may have more to do with the instructional materials than most other things, but 8-10 years ago it seems to me that the way the language was used differed a great deal to today. The focus today is more on leveraging templates, type safety, and generic programming where before there was more fear of all that and people focused almost exclusively on the C with objects aspects.

Instructional materials are changing too. While before the standard C++ beginning book would take you through printf, scanf, etc...you hardly even see these in books with a modern approach.

Some good books are any of the red books. Exceptional C++, More Exceptional C++, C++ Template Metaprogramming, Modern C++ Design, Accelerated C++...

I think looking at where I currently work may be a good example. I came here using C++ in a modern way and it seems that most developers don't even know what I'm doing or why. Making objects with operator () in them for example... Had to comment the hell out of every occurence of bind() and eventually was told to scrap all that code. The don't know what initializers do... It's been really freaky and hard for me actually.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote