Yeah, I would much rather handle booleans than exceptions. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bill Rawlinson
Sent: Thursday, March 10, 2005 1:44 PM
To: [email protected]
Subject: Re: Method Question (was RE: [CFCDev] OO Security?)

I would expect the security guard to respond and tell me the security to
the building is intact with an affirmative or "true"

granted, that would really be in the method isSecure as opposed to
checkSecurity which is really a helper method to isSecure (in my mind)
since the guard may have to check more than just the building security
is intact to tell me if everything isSecure.


but either way I would expect checkSecurity to return true if security
is OK and false if it is not (or raise an exception) depending on how
you want to handle the negative.

Bill

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to