10 Apr
2007
10 Apr
'07
4:31 a.m.
On 4/9/07, Rob Thorne <rob@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