[development] Note that PHP arrays are fast
Greg Knaddison - GVS
Greg at GrowingVentureSolutions.com
Tue Apr 10 02:31:25 UTC 2007
On 4/9/07, Rob Thorne <rob at torenware.com> wrote:
> While I use these kind of array tricks all the time (love that table
> driven code), the advantage of the first form is readability. Unless
> code like that is called many times in a request, I'd still go with the
> ?: operator, since the intent is clearer.
>
> Remember: we have to maintain this stuff after we write it.
I actually thought the second was more readable...
Is there a consensus on the readability?
Greg
More information about the development
mailing list