Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which Is More Readable To You?
Message
From
05/03/2008 03:40:17
 
 
To
04/03/2008 19:18:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01298471
Message ID:
01298812
Views:
19
>I use 2 spaces for my tab, others use 5, some 4. Yes, they WILL line up eventually - and make almost everyone coming after you crazy when they have to modify that section.
>
>People tend to type in patterns, most tend towards the xspace=spacey, not necessarily xtabtabtabtabtab=spacey - you got me hitting the damn tab key, why are you switching to the freakin' SPACE key?

I made no statement as to which I prefer (I'm happy with either) - but feel free to argue with those who prefer a different style. I simply suggested that most replies seemed to favour the tabbed layout and *consistency* in a code base is a more important than personal preference.

A far as VFP goes most issues like this can be resolved by common 'beautify' settings.
Regards,
Viv
>
>
>>>Because not everyone uses the same indent or tab size and it's a major pain in the posterior to line everything up.
>>
>>Huh? Your CHR(9) may not be my CHR(9( - but the tabs should still line up.
>>
>>>
>>>>Why is the first one easier to maintain? To me, it's the inverse.
>>>>
>>>>>I prefer the first. It's easier to maintain. Also, if you're looking for readability, add white space around * and +
Previous
Reply
Map
View

Click here to load this message in the networking platform