G0rman, on 11 October 2012 - 04:03 PM, said:
They are right up there with globals!
No they ain't.
They are useful for parameter checks (sentinels) at the state of your methods.
Also in the area of parameter checks is Code Contracts, which is use alongside automated testing frameworks.
Also useful in Case Select statements.
In vb you don't even need the return statement to return the result, and I'm not talking about ByRef parameters. Start your head scratching now.
This post has been edited by AdamSpeight2008: 11 October 2012 - 08:31 AM

New Topic/Question
This topic is locked




MultiQuote




|