- Install Java 8
- Clone this repository
git clone https://github.com/CodelyTV/solid-principles-java-examples
. - Run the tests with
./gradlew test
- Start playing around with the different examples of each SOLID principle. You have the explanations in the test code 🙂
- Package:
tv.codely.solid_principles.liskov_substitution_principle
- Production code
- Tests code with explanations
- Package:
tv.codely.solid_principles.dependency_inversion_principle
- Production code
- Tests code with explanations
This hopefully helpful examples have been implemented by CodelyTV and contributors.
Pull Requests are welcome. We would suggest oppening an issue before actually coding your Pull Request in order to ask for feedback 🙂
The MIT License (MIT). Please see License for more information.