Articles
Tags
AllClient-Side ArchitectureDesignDesign PrinciplesDomain-Driven DesignEnterprise Node + TypeScriptGraphQLHumans & CodeNetworking & OpsObject-Oriented AnalysisObject-Oriented DesignObject-Oriented ProgrammingSoftware DesignSoftware ProfessionalismTest-Driven DevelopmentTestingThe MetaphysicsThe Phases of CraftshipWeb Development
2
Showing 2 article(s) about "Private constructor"
Static Factory Methods | Object-Oriented Programming w/ TypeScriptTypeScript
In this blog post, I explain how we can use the static factory method to enforce rules against how an object is created.
When to Use a Private Constructor | TypeScript OOPTypeScript
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...