5 ms·
Postconditions are in conflict with programmers' love of early returns.
by augustk 6mo ago
Postconditions are in conflict with programmers' love of early returns.
- HelloNurse 6mo agoFormally, it doesn't appear to be so (tests can be added to each early return); in practice, encouraging the reorganization of messy early returns would be zero cost developer reeducation.