News for hackers. Stuff that matters.
Re:C++20 has been approved by pietroglyph on Sunday September 06, 2020 @09:52AM (#24391291)
The thing is that this is not a huge issue in practice. I stick to uniform initialization in 99% of cases and it works out pretty well. I have far fewer bugs from initialization screwups than from other things.
Re:C++20 has been approved by Aerroon on Sunday September 06, 2020 @11:39AM (#24392080)
But what kind of an effect does this have on someone new learning the language? It seems to me like it would make it slightly harder to learn and get used to.
Re:C++20 has been approved by lenkite on Monday September 07, 2020 @03:01AM (#24397218)
Simple, read and religiously follow the Core Guidelines. Bad, converting initialisations are also flagged as warnings (or errors with -Werror).