3 ms·
Stating failures first can also be considered analogous to input validation, preconditions, or declaring the domain for which the function is undefined. Some re
by davidhollander 14y ago
Stating failures first can also be considered analogous to input validation, preconditions, or declaring the domain for which the function is undefined. Some related discussion on here: http://c2.com/cgi/wiki?GuardClause http://c2.com/cgi/wiki?GuardClause