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.
I've seen a lot of programmers who tend to just write code to get the job done and leave an awful lot of crap behind them for others to pick up - that is a good example of BAD practice.
Another good practice is to use the "FULL" Function/command name:
USE Table ORDE 1 ALIA Name SHAR
SELE Table
TABLEU(.T.)
I've seen a LOT of that, there is just ZERO consideration for other programmers, but then, not everyone has to deal with that.
The n-Tier reply you gave the other day is an excellent example - the UI is kept in Forms/Reports etc, the Validation in a Business Object, the Data in a Database - extremely effective/efficient/economical yet easy to manage, easy to absorb, easy to maintain, easy to search through.
Kev
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only