From Adaptive Code via C# by Gary McLean Hall
- Static methods
- Static classes (including singletons = classes which can only be instantiated by one object)
- Object construction that uses new
- Extension methods
Code perfumes:
- Interfaces
- Dependency injections
- Inversion of control
- Factories
Geen opmerkingen:
Een reactie posten