4 ms·
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
by jenadine 3y ago
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.
- lost_tourist 3y agoby this reasoning should we get rid of templates/generics as well?
- enriquto 3y agoYES
- woooooo 3y agoMaking things explicit isn't necessarily boilerplate.