Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which Is More Readable To You?
Message
De
04/03/2008 17:00:47
 
 
À
04/03/2008 15:06:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01298471
Message ID:
01298690
Vues:
21
>Jim,
>
>we are here quite far into personal preference/style.

Yes we sure are.
I use whitespace a lot. Your second line below is common for me too.
We were talking more about 'structuring' like-syntaxed multiple lines for readability.

It remains my opinion that keeping a 'standard structure' of code in generl help maintenance by improving readability. The idea that it takes extra time (for virtually no return AT THE MOMENT) is not a valid argument to me.

Of course, if no one is ever going to read your code, do it however pleases you < s >



>
>((crsrResult.pdb_order*10)+1)
>
>slows down comprehension at least for my reading habits.
>
>crsrResult.pdb_order*10 + 1
>
>is more natural as there is no need for parenthesis in this case, so S/N is better for my brain.
>White Space grouping helps me more to identify groups.
>
>But here consistency in a group is more important than personal preference - readability should be constant.
>
>my 0.02 EUR
>
>thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform