Home
  • - Spring Boot -
  • - SOLID -
  • - PATTERNS -
  • ☕︎ Buy me a Coffee
  • es

solid


SOLID principles with examples

 Posted on Dec 21, 2023  |  Gustavo

SOLID is the acronym for five basic principles that intend to make software design it is simpler and easier to understand and also reduces maintenance costs.

[Read More]
solid  Single responsibility principle  Open/closed principle  Liskov substitution principle  Interface segregation principle  Dependency inversion principle 

SOLID Dependency inversion principle

 Posted on Dec 20, 2023  |  Gustavo

According to this principle, Dependency Inversion Principle (DIP), there should be no dependencies between modules, especially between low-level and high-level modules.

[Read More]
solid  Dependency inversion principle 

SOLID Interface segregation principle

 Posted on Dec 20, 2023  |  Gustavo

This principle about Interface segregation principle (ISP) says that any client should not be required to depend on methods they do not use.

[Read More]
solid  Interface segregation principle 

SOLID Liskov substitution principle

 Posted on Dec 20, 2023  |  Gustavo

The Liskov substitution principle (LSP) is an object-oriented design principle that states that a subclass must be interchangeable with its superclass without changing the program’s behavior.

[Read More]
solid  Liskov substitution principle 

SOLID Open/closed principle

 Posted on Dec 20, 2023  |  Gustavo

The open/closed principle (OCP) says that every class, module, method, etc. should be open for an extension but must be closed for modification.

[Read More]
solid  Open/closed principle 

SOLID Single responsibility principle

 Posted on Dec 20, 2023  |  Gustavo

This principle refers to the unique responsibility that each program should have with a specific and limited task.

[Read More]
solid  Single responsibility principle 

Gustavo Peiretti  • © 2024  •  Home

Hugo v0.79.0 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll