A deep dive into the Single Responsibility Principle
"A class should have only one reason to change."
"A class should have only one reason to change."
Code Reusability and Reduced Duplication
Advatanges Of Using Dependency Inversion Principle
Consider This Code
Easier Maintenance
The idea behind the OCP is that it promotes greater flexibility in your code.
Awaited is a utility type used to obtain the return type of a promise.
Design patterns are reusable solutions to common problems that arise in
What Is ConstructorParameters
While the Singleton pattern is useful in many cases, there are several
While these are some of the caveats, the Prototype pattern can still be very
"High-level modules should not depend on low-level modules. Both should depend
History With Barbara Liskov
"The Open-Closed Principle states that "software entities (classes, modules,
Encapsulation isn't just about hiding data or making it private. It's about
What Is Exclude
What Is Extract
The TypeScript compiler, also known as tsc, is a command-line tool that compiles
The compiler starts by parsing the TypeScript source code(.tsfiles)
The compiler starts by parsing the TypeScript source code(.tsfiles)
What Is InstanceType
"No client should be forced to depend on interfaces they do not use."
What Are Creational Design Patterns?
Object Oriented Programming (OOP) is a programming paradigm that uses the
UML, or Unified Modeling Language, is a standard language used in software
Who Is The User Of The Class?
What Is NonNullable
We already looked
What Is Parameters
What is Partial
Pick is a TypeScript utility type that creates a new type by
In the realm of JavaScript and TypeScript, polymorphism can be observed in
Reading UML Diagram
What is Readonly
The Record type is a type that can be used to combine two types.
What is Required
What Is ReturnType
Singletons are often used in situations where system-wide actions need to be
String Manipulation Utility Types
While the Builder pattern offers several advantages, developers should also be
The Builder pattern is a creational design pattern that lets you construct
Let's consider a more realistic example of a real-world application that could
The Factory Design Pattern is a type of creational design pattern that
The Prototype Pattern is a creational design pattern in software development.
TypeORM is an abstraction layer over various databases, which allows
Utility Types are built using TypeScript's own features and provide a powerful
The Singleton pattern is a creational design pattern that lets you ensure that
Utility types are predefined generic types in TypeScript that can be used to
Design patterns are reusable solutions to common problems that arise in
Introduction To Uncle Bob
Abstraction in Object-Oriented Programming (OOP) refers to the process of
Encapsulation is a fundamental concept in object-oriented programming (OOP)
Inheritance is a fundamental concept in Object-Oriented Programming (OOP) that
Polymorphism is a fundamental concept in object-oriented programming (OOP)
The Singleton pattern can be very useful in specific scenarios where there
What To Consider
What To Consider When Using The Builder Pattern
The goal of software architechture is to minimize the human resources
Why Use Inheritance?