Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xbase DO CASE indention
Message
De
31/01/2013 09:19:46
 
 
À
31/01/2013 05:44:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Humor
Catégorie:
Autre
Divers
Thread ID:
01564657
Message ID:
01564827
Vues:
37
>>
>>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.

Something like the case you're talking about, I don't debate - I just tell 'em it's easier for me to read. They may put it in any format they want when THEY are working on the code.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform