News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by jenadine on Tuesday July 11, 2023 @03:56PM (#36686462)
Hiding the actual logic in extra boilerplate doesn't make it easier to read.

The lines of code in the example save reader's time as they focus attention on the actual business logic.

Yes, this assumes that operator overloading follows some convention, but you need to follow conventions regardless to make readable code.

Re:C++23: The Next C++ Standard by lost_tourist on Tuesday July 11, 2023 @04:31PM (#36686841)
by this reasoning should we get rid of templates/generics as well?
Re:C++23: The Next C++ Standard by enriquto on Tuesday July 11, 2023 @05:07PM (#36687228)
YES
Re:C++23: The Next C++ Standard by woooooo on Tuesday July 11, 2023 @06:49PM (#36688281)
Making things explicit isn't necessarily boilerplate.