2 ms·
Having to create a class for everything is a chore, it doubles the amount of named things in the codebase. It also creates an undue discontinuity when moving fr
by DenisM 12y ago
Having to create a class for everything is a chore, it doubles the amount of named things in the codebase. It also creates an undue discontinuity when moving from one returned value to two returned values during the process of codebase evolution.
Either first-class tuples or anonymous classes as return types would reduce this cognitive overhead.