SOLID principles - Basics of Object-Oriented Design Patterns

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • #ObjectOriented #Coding #Programming
    This video discusses the SOLID principles of object-oriented programming. The SOLID principles are five principles that can help create an effective, robust, and easily maintainable program. First, the Single Responsibility Principle (SRP) implies that each class should perform only one task. Second, the Open/Closed Principle (OCP) suggests that classes should be open for extension but closed for modification. Third, the Liskov Substitution Principle (LSP) focuses on the fact that a subclass should be able to replace its superclass. Fourth, the Interface Segregation Principle (ISP) states that a class should not be forced to implement methods it does not use. Lastly, the Dependency Inversion Principle (DIP) asserts that high-level modules should not depend on low-level modules.

Комментарии • 7

  • @coding-with-yalco
    @coding-with-yalco  2 месяца назад +3

    Notion page link:
    yalco.notion.site/SOLID-Principles-581f158bec174916b5b41df3dd72d250?pvs=4

  • @VigneshBhaskar
    @VigneshBhaskar Месяц назад +2

    Thanks, Was very simple in explanation and very useful.

  • @DesiBlog1
    @DesiBlog1 2 месяца назад +1

    ❤ lovely content proud to be join this channel from beginning.
    Please make some video on db side too like normalisation and all

    • @coding-with-yalco
      @coding-with-yalco  2 месяца назад +1

      Thank you! I will also prepare videos on DB-related topics.

  • @pash660
    @pash660 2 месяца назад +4

    SOLID as always 😉!