<cfif NOT arrayLen(arr_one) AND NOT arrayLen(arr_two)>
which isn't necessarily any more compact, nor is it any more readable in the
code. Any performance differences between the two would be negligible at
best.
----- Original Message -----
From: "Paul Kenney" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 1:49 PM
Subject: RE: Another Best practises question
> Probably not. There might actually be a more compact way of doing this
> test, but the great thing about the code you posted is that the function
> names convey clearly what the intent of the test is.
>
> Paul Kenney
> WebMaster, CorporateWarriors.com
> 916-663-1963
>
>
> -----Original Message-----
> From: David Adams [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 19, 2004 11:18 AM
> To: CF-Talk
> Subject: Another Best practises question
>
>
> Is there a better way of writing:
>
> <cfif ArrayIsEmpty(arr_one) AND ArrayIsEmpty(arr_two)>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

