elsewhere today by Matt Robertson (http://mysecretbase.com/CMLite_Home.cfm),
and I notice a lot of the decisions in the code are made by what seems to be
a double negative for me. Quite confusing until I got used to it. Is
there any performance or other advantage to doing it the way Matt does it,
or is it just a matter of style?
For example, ContentMonger has this:
<cfif not Compare(GetItem.SecureDisplay,"Y")>
. Stuff .
</cfif>
Where I'd be more likely to put this:
<cfif GetItem.SecureDisplay EQ "Y">
. Stuff .
</cfif>
If it's just a matter of style, that's no problem, although I think my way
is more readable and more readily understood, but if there is any other
reason to do it Matt's way I've got an awful lot of revision of code to do!!
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

