On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> From: "Mike yearwood" <[EMAIL PROTECTED]>
> Personally I find it easiest to check parameters first and get out if
> necessary and then follow with the heart of the function. This clearly
> separates the two steps and the meat of the function is cleaner and
> easier to follow.
Personally I find it easier when the damn compiler throws the error
because you can't get your params correct.
YMMV.
Fully agree!
I don't see why this wasn't done. It would only apply where
parameters are defined as strong types.
Even VB6 does this!
--
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.