Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions again........
Message
From
31/08/1999 16:13:54
 
 
To
28/08/1999 23:03:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00258085
Message ID:
00259878
Views:
13
>>>>4) indentation (preferably using spaces)
>
>Yes, I understand indentation and stick to it religously. By the statement >"using spaces" I assumed using the [SPACEBAR] as opposed [TAB]. If I am right, >what advantage would 5 spaces be over a tab? If using spaces meant [TAB], well >then, I respectfully withdraw my question ;-)
>

Ah, I think I can explain this too. The difference comes in the text editor you use. If it stores the tabs as the tab character (^I), different text editors may interpret the tabs as a different number of spaces. So what may look like a managable 5 spaces to you, may be 10 or 15 spaces to another, which gets to be too much identation on highly nested statements. Using the space bar means the file will always have the same spacing no matter the editor.

May not have much bearing on Fox, where everyone is essentially using the same editor, but in C/C++ I too use the space bar instead of tab so that when I am porting source code around to various machines the spacing remains consistent.
Melissa Danforth
Customsoft Corporation
Previous
Reply
Map
View

Click here to load this message in the networking platform