This repository provides code examples for the Object Oriented Fundamentals talk.
The samples are broken down as follows:
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/DRYBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/DRYAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/LawOfDemeterBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/LawOfDemeterAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/ConstructorBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/ConstructorAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/EncapsulationBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/EncapsulationAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/WrapStaticBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/WrapStaticAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/SingleResponsibilityBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/SingleResponsibilityAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/OpenClosedBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/OpenClosedAfter
- Before - https://github.com/StaticSphere/oop-fundamentals/tree/master/InterfaceSegregationBefore
- After - https://github.com/StaticSphere/oop-fundamentals/tree/master/InterfaceSegregationAfter
The example code for the Single Responsibility Principle is also a great example of the Dependency Inversion Principle