Message: 1
Date: Mon, 26 Jun 2006 06:51:05 -0700
From: [EMAIL PROTECTED]
Subject: RE: Strong parameter checking
To: [EMAIL PROTECTED]
Message-ID:
       <[EMAIL PROTECTED]>

Content-Type: TEXT/plain; CHARSET=US-ASCII

> 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.


Compilers don't catch enough real problems to trust them. In fact no
program is as powerful as our brains.


_______________________________________________
Post Messages to: ProFox@leafe.com
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.

Reply via email to