Re:Learn Modern C++
by nuancebydefault on Tuesday December 26, 2023 @06:26PM
(#38777194)
That is true, though in the real world (existing codebases) you encounter old, new, modern and novel styles of C++. So in order to understand the used forms of something that should be simple, like printing, you will need to know at least 4 different ways of coding it. That is somehow the frustrating part of the language, there is no 'right' C++.
Kudos for those who are willing to dig deep enough to fully understand const correctness, smart pointers, dynamic casts, double referencing, every type of formatting and template programming. Though sometimes I think there is some masochism involved...
Re:Learn Modern C++
by angiosperm on Wednesday December 27, 2023 @02:41AM
(#38779902)
C++ is a relentlessly practical language, so your go-to for understanding what you find is practicality.
Every new Standard has some features few people will use. Those are easy to identify and ignore if they don't solve a problem you have.