modular approach in programming code example
Example: modular demoable code
1 — Modularity
Plan and identify the parts of your software which needs to be divided into chunks. Divide a software system into multiple independent modules and make each class/method do just one thing. Modularization makes code easy to understand and more maintainable.