Skip to content

Repositório dedicado ao estudos de príncipios SOLID, com alguns exemplos em Java.

Notifications You must be signed in to change notification settings

gustavohnsv/solid-principles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S.O.L.I.D Principles examples in Java

  • Single Responsibility principle
  • Open/Closed principle
  • Liskov substitution principle
  • Injection of Dependencies
  • Demeter principle

How to read the code:

you can browse the codes and when you see a comment written // Wrong use: , this means that the following section presents code with a violation of the respective principle.

Comments written // Correct use: indicate that the following section would be a possible solution to that the code does not violate the respective principle.