Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practices
Message
From
18/06/2001 06:11:13
 
 
To
15/06/2001 07:59:05
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00519494
Message ID:
00520491
Views:
17
>As you are already aware from my previous messages, a Best Practice is what I am trying to achieve at the moment. Coding efficiently, effectively. Keeping it maintainable, also in a way others can easily read/absorb it. Will it still be as efficient in a couple of years time? Is it making the most of the tools/functions available? Not using 3 lines of code when 1 will do nicely.

Just a thought here, "best practice" may not always be the most efficient way of coding - it may alter depending on your goals - the best practice for understandable/easily maintained code will often differ somewhat to the best practice for writing code where performance is critical. In one case, using 3 lines of code may make it easier to understand and/or modify/maintain - in the other case it may take a bit more effort to work out what the single line means but it may make a dramatic improvement in speed.

The best practices in one situation may not be the best practice in another. So don't get entrenched in one particular set of practices & believe that they are the only best practices - keep an open mind. Have a range of best practices, look critically at what you are aiming to achieve & what the priorities are, & apply the best practice that applies to the situation. Although you can be given advice, it is experience that is going to show you more.
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform