News for hackers. Stuff that matters.
Re:C++ the Good Parts (2014) by formerly_proven on Thursday October 01, 2020 @07:56AM (#24649875)
In terms of syntax and semantics, initialization in C++ is rather complex and subtle, perhaps the most complex part of C++ (yes, more so than templates, because templates-the-language-feature is not that complex, it's the way libraries like Boost and the STL use them that's complicated).

The good thing about the STL additions is that you can simply ignore them, as they are not part of the core language, just like people have ignored iostreams since the 90s.

Re:C++ the Good Parts (2014) by UncleMeat on Thursday October 01, 2020 @09:19AM (#24650484)
Initialization is admittedly a tremendous mess. There are so many ways to screw it up it is ridiculous. But this is really a problem with some old old old decisions and backwards compatibility rather than an issue with new complexity.
Re:C++ the Good Parts (2014) by gpderetta on Thursday October 01, 2020 @12:23PM (#24652790)
to be fair the interactions between brace initialization and initializer lists is a completely new mess.
Re:C++ the Good Parts (2014) by tsimionescu on Thursday October 01, 2020 @02:26PM (#24654432)
Well, initialization lists have added quite a bit of complexity to that problem. So have move semantics, to a lesser degree.