If you're worried about readability, why don't you just use name=value
notation:

myFunction(param1='test',param2='this');

> My vote is for the function call in CFSET/CFSCRIPT.  if you need named
> arguments (rather than positional), just use an argumentCollection.
> It's minutely less readable than CFINVOKE/CFINVOKEARGUMENT (because
> the arguments are defined before the function name is listed), but
> I've never had that be a problem, and it's a heck of a lot less
> typing.  Of course, I avoid anything but positional parameters when I
> can, but that's a personal preference, not for efficiency or anything.
>
> cheers,
> barneyb
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to