Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practices
Message
From
18/06/2001 11:44:59
 
 
To
18/06/2001 10:45:45
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00519494
Message ID:
00520632
Views:
16
>Good point, I don't generally get that carried away, but I have notice silly examples in the past, such as declaring variables in more than one line:
>
>PUBLIC gcVar1
>PUBLIC gcVar2
>PUBLIC gcVar3
>
>Stuff like that.
>
>Kev

I've come across odd ones like that too. I was thinking of one or two more controversial examples, but I didn't want to start another long drawn out discussion. Less controversially, there was a recent thread on nested iif's, which can be confusing, an example of where (IMHO) 3 lines are preferable over 1.

What I've tended to do in the past (especially for new projects) is to use a set of guidelines of (best ?) practices that should be applied to the particular project. Ideally, all coding/documentation/etc will adhere to these guidelines, but if the programmer finds it necessary to go against the guidelines & can justify to me (& the rest of the team - I have occassionally been known to be democratic) why the guidelines should not be used, then I will accept it.
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform