Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Is More Readable To You?
Message
From
04/03/2008 17:00:47
 
 
To
04/03/2008 15:06:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01298471
Message ID:
01298690
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform