How to improve maintainability of the application?
-
Hi all can any one tell me what are the steps to improve the maintainability with example.
-
Hi all can any one tell me what are the steps to improve the maintainability with example.
1. Start with a well defined set of requirements. 2. Design the application so that it meets those requirements. Use NUnit or a tool like it to ensure that the application is solid and robust. 3. Design the application using techniques such as well defined patterns. 4. Don't be clever. Write code that you will understand in 6 months time. 5. Test. Test. Test. 6. Don't be clever. Attempting to save a couple of clock cycles by writing composite statements is usually a waste of time. If you're not writing a real time system, it generally doesn't matter that one algorithm takes 2 milliseconds longer than your "optimised" one. 7. Test. Test. Test. 8. Have a well defined maintenance plan. 9. Don't shoehorn things in that don't fit the requirements. There's generally a reason that things are out of scope.
Deja View - the feeling that you've seen this post before.
-
1. Start with a well defined set of requirements. 2. Design the application so that it meets those requirements. Use NUnit or a tool like it to ensure that the application is solid and robust. 3. Design the application using techniques such as well defined patterns. 4. Don't be clever. Write code that you will understand in 6 months time. 5. Test. Test. Test. 6. Don't be clever. Attempting to save a couple of clock cycles by writing composite statements is usually a waste of time. If you're not writing a real time system, it generally doesn't matter that one algorithm takes 2 milliseconds longer than your "optimised" one. 7. Test. Test. Test. 8. Have a well defined maintenance plan. 9. Don't shoehorn things in that don't fit the requirements. There's generally a reason that things are out of scope.
Deja View - the feeling that you've seen this post before.
10. Don't reinvent the wheel. If it seems hard or repetitive, chances are theres a better way. Number of times we consult for some place and they seem to think they can write a better ORM solution than our commercial one with a couple of junior devs in a week. Drives me nuts (and it would still be more expensive). Usually I show them the size of our SVN repository and they change their mind :D
Mark Churchill Director Dunn & Churchill