Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which Is More Readable To You?
Message
De
05/03/2008 03:40:17
 
 
À
04/03/2008 19:18:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01298471
Message ID:
01298812
Vues:
20
>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 +
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform