Re:Std: Print is headed for C++23. std:cout is now a code smell
by BenFrantzDale on Monday November 29, 2021 @09:43PM
(#29388298)
It’s easy to pick on C++, but you can’t have backward compatibility and foreword progress and also not have features that are considered out-of-date.
[ Parent
| on HN ]
Re:Std: Print is headed for C++23. std:cout is now a code smell
by astrange on Monday November 29, 2021 @10:08PM
(#29388474)
Well that's fine, but it would be nice to have more official guidance, like editions/profiles/versions that turn things off as well as on. There are some standards, but mostly you just get self-proclaimed C++ experts telling you you suck if you write a `new` statement and don't use whatever kind of smart pointer is the right one now.
Re:Std: Print is headed for C++23. std:cout is now a code smell
by jdsully on Monday November 29, 2021 @10:30PM
(#29388628)
There already is such a thing and its called the C++ Core Guidelines:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines