Refactoring: Cheat-Sheet

Please visit my other Object-Oriented Programming articles. Reaping the most benefits from refactoring Use the following quick cheat-sheet when refactoring. Topic Task Remove unhelpful comments Remove comments which state the obvious or replace unfocussed blocks of code with clearly-named methods following the Singe Responsibility Principle (SRP).Remove zombie code – code commented-out to no longer be…

Refactoring: Boundaries

Please see my other Object-Oriented Programming (OOP) articles. Ensuring Separation of Concerns When refactoring a web application, the following table represents a high-level overview of technologies/tools and the appropriate use of each, along with examples of how their boundaries for us may be violated. Keep in mind for each tool is intended boundary and look…

Object-Oriented Programming (OOP)

Please see my other Web Development articles. OOP: Encapsulation, Inheritance, Polymorphism, Composition Object-oriented Programming (OOP) provides the most feature-rich, maintainable, feature-rich way of programming applications by levering the following features. (use table to link to each article listed above). Please see my other Web articles. Object-Oriented Programming Abstract Classes vs Interfaces Class Design – Step…