Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
3.33/5 (2 votes)
See more:
How can I ensure the code maintainability?can any one tell me this Q answer..?
Posted
Comments
Ankur\m/ 5-Feb-14 7:46am    
Too broad for "Quick Answers".

 
Share this answer
 
Comments
Sampath Lokuge 5-Feb-14 7:36am    
You were 52 secs faster than me.:)
+5
Peter Leow 5-Feb-14 7:47am    
Thank you.
vrushali arbune 5-Feb-14 8:21am    
Thank you sir
Please read below mentioned Articles.It'll help you a lot.

Coding Techniques and Programming Practices

Writing Maintainable Code


Writing Maintainable Code
 
Share this answer
 
Comments
Peter Leow 5-Feb-14 7:46am    
52 secs? that is negligible. +5!
Sampath Lokuge 5-Feb-14 7:57am    
Thanks Peter. :)
Greeting,


When i am thinking about maintainable code, the things coming into my mind .....



1. Keep the best coding standards in practise. You can check in msdn for the best coding stadards..

2. Code should be loosly coupled.

3. Give better comments.

4. It should be readable.

5. Someone should be able to modify the code without much complications.

6. Try to build re usable code.

7. Number of lines in a method should not be very long.

8. Keep the single responsibility principle in your mind when you are writing a code.

9. Code should be easily unit tested.

10.Stick on good naming conventions.



Regards
Dominic
 
Share this answer
 
Comments
Sampath Lokuge 5-Feb-14 7:56am    
+5 :)
Dominic Abraham 5-Feb-14 8:00am    
:-)
vrushali arbune 5-Feb-14 8:22am    
Thank you sir
 
Share this answer
 
Comments
vrushali arbune 5-Feb-14 8:20am    
Thank you sir
RhishikeshLathe 5-Feb-14 8:22am    
Thank u.
IF answer is usefull to u, make it acceptable.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900