Reduce the code to the minimum but not less. This fundamental principle of mechanical engineering fits also extremely well to software engineering and software resilience. Remove all unneeded wrapper, boiler plate code, indirections.
- Less code mean less bugs
- Less code keeps your software side effect free
- Less code means less hidden knowledge
- Less code - less dependencies
- Less code means less code to read
But be careful. Be sure that your code is well-covered from tests. Every mature project came's into a phase where the software developer delete more lines than they are writing new.
No comments:
Post a Comment