214
LISP is ugly
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I prefer a bunch of
if (fucked_up) {return(error_code);}
for checking common errors.
Yup, never nest.
All the conditions should be checked and returned if they failed as you go through the function with the successful response being the last line.