I am having a difference of opinion on where to display a messagebox from.
1. Within the method that test different passed variables.
or
2. From the code calling the method by returning a T/F or returning the message to display and checking to see if empty(msg) to determine if displayed
I choose #2 mainly because I read somewhere that meesages should not be displayed from a method and it clearer coding.
Thanks for any opinions, Chuck
Extreme Programming = Plan -> Design -> Code -> Test