News for hackers. Stuff that matters.
Re:Modern C++ Features – std::optional by anaphylactic on Saturday June 09, 2018 @07:40PM (#17275614)
I disagree. If a perfectly good optional type can be implemented without making new syntax, why bother making new syntax? It obscures what's going on under the hood, makes implementation needlessly complex, and increases mental overhead for users.
Re:Modern C++ Features – std::optional by Koshkin on Saturday June 09, 2018 @07:56PM (#17275670)
To be fair, not all languages make this easy.