Skip to content

This is a Java exercise made expressly to understand the DIP Principle from the SOLID Principles. It has an exercise with an easy level and it's not too complex with the intention to practice and know how apply and work correctly with the Dependency Inversion Principle.

License

Notifications You must be signed in to change notification settings

pau13-loop/DIP-SOLID-Training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIP Java Exercise

In this repository you'll find DIP Principle Java Exercise. This kata is to understand the DIP Principle that belongs to the SOLID Principles that you should follow to make your code cleaner and more readable. In case you don't know about how works this principle or how to apply it correctly below you'll find a link that will explain it and it has some examples where you can get an idea about how to work with this principle precisely and correctly.

https://stackify.com/dependency-inversion-principle/

Table of Contents

  1. Motivation
  2. Used Technologies
  3. Reflections
  4. UML Diagram
  5. License

Motivation

The motivation I've found to make this exercise, it's improved my skills working with the SOLID Principles. I know they're really useful like for example being able to improve and reduce considerably the dependencies of your program, always you should try to have a program with great cohesion and low coupling. If you follow these principles correctly, you can get this goal.


⬆ back to top

Used Technologies

  • Java
  • Junit
  • Maven
  • Jacoco
  • MarkDown
  • Github

⬆ back to top

Reflections

My reflection about this exercise is that at the beginning I was not to sure about what to do, but this is because my information about the DIP Principle was not to extense, for example the link I left above on the introduction it made me the things a lot easier and when I completely understood how to work with the inversion Dependency Principle after a bit of research. I start to know how important the interfaces are for every program and how can make your work a lot easier, this kata just has helped me to have an idea when I should work with them. I remember the main concepts, but I have to train a lot more myself to get fluent with the DIP Principle.


⬆ back to top

License

MIT License

Copyright (c) 2020 AntoniPizarro and Pau Llinàs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


⬆ back to top

About

This is a Java exercise made expressly to understand the DIP Principle from the SOLID Principles. It has an exercise with an easy level and it's not too complex with the intention to practice and know how apply and work correctly with the Dependency Inversion Principle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages