Bill Rawlinson wrote:

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


Otherwise I'd assume the security guard is either dead or has a gun smashed against his temple. Yes, have him return a "code 6 - all clear" to me...

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




--
Peter J. Farrell :: Maestro Publishing

blog    :: http://blog.maestropublishing.com
email   :: [EMAIL PROTECTED]
phone   :: 651-204-0513

Not a computer nerd; merely a techno-weenie.
--


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