[dba-Tech] On Odious Code

Haslett, Andrew andrew.haslett at ilc.gov.au
Thu Aug 5 04:40:01 CDT 2004

Bit confused as to this issue..
So its just the syntax we're discussing, not not the logic?
I still don't see an issue with testing for nothing... The original post
suggested we t'est for the positive' instead, wihich I disagree with.
If Ralph IS NOT 'AtHome' Then
   'Ring Ralph on Mobile'
End If
as oppsoed to:
If Ralph IS 'InCar' OR Ralph IS 'AtWork' OR Ralph IS 'AtTheShop' OR Ralph IS
'AtTheFooty' etc...
.. Its obviously better to test for the negative in some cases...


From: Gustav Brock [mailto:gustav at cactus.dk]
Sent: Wed 4/08/2004 4:50 PM
To: Discussion of Hardware and Software issues
Subject: Re: [dba-Tech] On Odious Code

Hi Arthur 

> .. so I guess I'm a pedant. 

You are. But take it as a positive label - there is too much 
sloppiness around. 


dba-Tech mailing list 
dba-Tech at databaseadvisors.com 
Website: http://www.databaseadvisors.com <http://www.databaseadvisors.com>  

IMPORTANT - PLEASE READ ******************** 
This email and any files transmitted with it are confidential and may 
contain information protected by law from disclosure. 
If you have received this message in error, please notify the sender 
immediately and delete this email from your system. 
No warranty is given that this email or files, if attached to this 
email, are free from computer viruses or other defects. They 
are provided on the basis the user assumes all responsibility for 
loss, damage or consequence resulting directly or indirectly from 
their use, whether caused by the negligence of the sender or not.

More information about the dba-Tech mailing list