menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

[Part 2] A...
source image

Dev

2w

read

368

img
dot

Image Credit: Dev

[Part 2] A Brief Introduction to SOLID Typescript

  • Interface Segregation Principle (ISP): Clients should not be forced to implement interfaces they do not use.
  • Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules. Both should depend on abstractions.
  • In ISP, interfaces should be small and specific to the needs of the implementing class.
  • In DIP, high-level modules should depend on abstractions (interfaces), and low-level modules should implement those abstractions.

Read Full Article

like

22 Likes

For uninterrupted reading, download the app