Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Is validation of all subroutine arguments overkill?

by RonW (Parson)
on May 23, 2016 at 21:43 UTC ( [id://1163907]=note: print w/replies, xml ) Need Help??


in reply to Re: Is validation of all subroutine arguments overkill?
in thread Is validation of all subroutine arguments overkill?

less edge cases to test against

Maybe

Testing the boundaries checked by the parameter validation is a form of edge case testing that should be done. For whatever reasonable value of epsilon, you need to validate that values just "inside" the boundaries are accepted and those just "outside" are rejected.

  • Comment on Re^2: Is validation of all subroutine arguments overkill?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1163907]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-25 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found