Static Factory Methods | Object-Oriented Programming w/ TypeScript

Go read "When to Use a Private Constructor | Object-Oriented Programming w/ TypeScript".
You'll use static factory methods for the same reason you'll want to use a private
constructor.
Discussion
Liked this? Sing it loud and proud 👨🎤.
Stay in touch!
Enjoying so far? Join 15000+ Software Essentialists getting my posts delivered straight to your inbox each week. I won't spam ya. 🖖
View more in TypeScript

You may also enjoy...
A few more related articles




Trending Content
Software Design and Architecture is pretty much its own field of study within the realm of computing, like DevOps or UX Design. Here's a map describing the breadth of software design and architecture, from clean code to microkernels.
Learn how to use DDD and object-oriented programming concepts to model complex Node.js backends.
Want to be notified when new content comes out?
Join 15000+ other Software Essentialists learning how to master The Essentials of software design and architecture.
2 Comments
Commenting has been disabled for now. To ask questions and discuss this post, join the community.
Could it be the blog post is missing?
I just asked myself the same question. Looks like the body is missing here.