Mike yearwood <> wrote: >> 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] >> secureserver.net> >> >> 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.
Sure, in a VFP world that is correct. In other languages you find that aspects of the language just tend to do more for you, so you don't have to "debug" as you go. I'm talking java, c ?, and VB. Stephen Russell DBA / Operations Developer Memphis TN 38115 901.246-0159 http://spaces.msn.com/members/srussell/ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.4/375 - Release Date: 6/25/2006 _______________________________________________ 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.

