News for hackers. Stuff that matters.
Re:Death by design patterns, or On the cognitive load of abs... by peterashford on Tuesday May 30, 2023 @12:15AM (#36121057)
Agreed with you on both counts - cout was an abomination and that std::println looks great (I'd never seen it before, either)
Re:Death by design patterns, or On the cognitive load of abs... by LaLaLand122 on Tuesday May 30, 2023 @01:43AM (#36121496)
I doubt it's yet implemented in any standard library. But it has been in the fmt namespace for close to a decade: https://fmt.dev/ . I do use it in a C++11-only codebase.