in reply to Re: Coding styles using if/else
in thread Coding styles using if/else
And that blank area between the CLAIM and GOAL is the perfect location for:
(Yes, the exit above moots the assert in this case, but not all functions check all arguments.)# CLAIM: all input values are valid assert($name ne ""); # GOAL: process input values
...roboticus
|
---|