Professional Documents
Culture Documents
OOAD Assignment
OOAD Assignment
& DESIGN
Submitted to: Mr. Zeeshan Nizamani
• Makes the code easier to understand and read because the goal is to
simplify code and reduce complexities.
• Improves maintainability and makes it easier to spot bugs or make
further changes.
Conclusion
Code refactoring is not just about improving the code. It’s a healthy habit for
any company which should be followed to avoid any major issues or bugs in
the application. A project lives longer for years if it’s regularly updated or
refactored. Your application runs faster and it gives a better customer
experience which is important to run any kind of business. Instead of creating
a big problem for yourself in the future, it’s good to invest time in the code
refactoring process while building an application.
Write note on software design patterns.
7. Trade-offs: While design patterns offer many advantages, they can also
introduce complexity if used indiscriminately. Overusing patterns or applying
them in inappropriate contexts can lead to bloated code and reduced clarity.
It's important to strike a balance between applying design patterns where
necessary and keeping the codebase simple and maintainable.