Showing 3 article(s) about "OOP"

4 Principles of Object-Oriented Programming
The four principles of object-oriented programming (abstraction, inheritance, encapsulation, and polymorphism) are features that -...
When to Use a Private Constructor | TypeScript OOP
In this blog post, I explain how using a private constructor helps to force a single way to create an object, and why it's most co...
Static Factory Methods | Object-Oriented Programming w/ TypeScript
In this blog post, I explain how we can use the static factory method to enforce rules against how an object is created.