>>Was it a readability issue, or what? I'm still thinking that
>>
c=a#b
is more clear and more readable than
>>
c=iif(a=b, .f., .t.)
or, worse,
>>
if a=b
>> c=.f.
>>else
>> c=.t.
>>endif
>>Is it just my pet peeve, or are there some recommendations about this?
>
>I go for readability before quickness. As with the speed of processors increasing your program will increase in speed, but will never get easier to read.
I've considered this as well - and one of factors of readability is the length of any code block. Now if something takes five lines (plus the two blank lines around it, since it's a block for itself) instead of one or two, I'm not sure it actually increases the overall readability. The same goes for the long iif()s, where the expression is rather long, and the actual layout of .T. and .F. in the end is somewhat out of sight.
I'd still rather go for a short one with a line of comment.