1, the high polymer
2, low coupling
3, to prevent the variation (indirect etc.)
4, separation of concerns
method 1:
Modular things, encapsulated into a separate subsystem
Method 2:
Decorator Pattern
Method 3:
Aspect Oriented (AOP)
1, the high polymer
2, low coupling
3, to prevent the variation (indirect etc.)
4, separation of concerns
method 1:
Modular things, encapsulated into a separate subsystem
Method 2:
Decorator Pattern
Method 3:
Aspect Oriented (AOP)