Links tagged “guardclause”
1 link, newest first.
blog.tplus1.com
I find code like this really confusing: if a and b and c: if d or e: return True elif f and g: return True else: return False Furthermore, updating those rules is nasty.
1 link, newest first.
blog.tplus1.com
I find code like this really confusing: if a and b and c: if d or e: return True elif f and g: return True else: return False Furthermore, updating those rules is nasty.