software - best practice

what really is the best practice for software developement ??

after some years of doing computer programming.. non of my software really great.. the best software would be some sample uploaded are free code in the Internet and my final year project.
And it really came to a conclusion where..

the most important things abt software are:
  1. Maintenance.
  2. Continuous development.

Thus, a software architecture must be able to allow for easy maintenance and continuous develoopment. The later is much more abt commitment while the formet is much more related to software engineering.

Thus, I believe, if we really build the software to be maintenance oriented, then it will be a good software.