In looking through Tom Christiansen's Perl Style guide recently, under "Defensive Programming" was an item that said simply "Parameter asserts". No explanation was given as to what "parameter asserts" are and how they are to be used.
I'm making a wild guess that the phrase somehow means "functions should check parameters passed to them to verify that they are reasonable". Does that sound correct?
Two questions:
Wally Hartshorn
(Plug: Visit JavaJunkies, PerlMonks for Java)
In reply to Parameter Asserts - How do you use them? by Wally Hartshorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |