not to open a can of worms.... :)

but there is a significant rift in the community between those who
subscribe to the implicit boolean conversion method and those who do
not.  i think there was a small war on the list regarding that very
subject no more than a few weeks back.

so we'll just put you down for being on 'that' side :)

On 11/6/06, Matt Robertson <[EMAIL PROTECTED]> wrote:
> I'll add my vote for server-side validation.  And I'll pick a nit with
> some of the code displayed above.
>
> <cfif Len(FORM.cardexpmonth) EQ 0>
>
> can instead be written as
>
> <cfif not Len(FORM.cardexpmonth)>
>
> IIRC doing it from within the function is faster in CF.  While speed
> is probably no big deal it is a little cleaner.
>
> --
> [EMAIL PROTECTED]
> Janitor, MSB Web Systems
> mysecretbase.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259362
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to