- when the framework decides on the mehods to invoke based in the bindings meantioned in the configuration, that is inversion of control. The framework decides on the metods to call over the developer making t
- one important charecteristics of a framework is that the methods defined by the user to tailor the framework will often be called by the framework itlself, rather than from the user's application code. The framework often plays role of the main program in coordinating and sequencing the application activity. The inversion of control gives the framework the power to serve as extensible skeletons. The method supplied by the user tailor the generic algorithm defined in the frameowrk for a particular application
- template method as a design pattern defines flw of control that is preserved with the super class while the child classes implement the abstract method defined in the parent class
- JUnit, the framework code calls setUp and tearDown methods for you to create and clean u
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.