Validate input parameters in VB?
Posted
by EdOxH
on Stack Overflow
See other posts from Stack Overflow
or by EdOxH
Published on 2010-04-04T22:48:07Z
Indexed on
2010/04/04
22:53 UTC
Read the original article
Hit count: 230
vb
Should I validate input parameters on all functions I create? Input isn't passed from a user, but from other routines as part of an automatic process.
I use error handling. I'm not sure what more validating input could do for me. If the input isn't valid, that's pretty much the same thing as an error, isn't it?
© Stack Overflow or respective owner