>>
>>DO CASE
>>CASE blah
>> ....
>>CASE blah
>> ....
>>ENDCASE
>>
>>
>>Personally, I prefer the latter. I see no reason to have an extra level of indents.
>
>When the code is long, and there's another doCase or IfEndif block immediately after it, if DoCase is not indented, I have trouble finding where it ends. So I'd rather suffer one slightly heated debate every other year with someone on the team, than suffer moments of confusion and repeated scrolling several times a day.
IMO nested structures are not my friend. If there is a performance issue, namely only having to SCAN a table once instead of more than once, fine, I will do it that way, but in general I try to avoid being too clever. One of the best pieces of programming advice I ever received, many years ago, was "Write boring code."