Apply Creator Pattern

Use when deciding which class should be responsible for creating instances of another class — especially when object creation is scattered across the codebase, or when constructors are called in classes that have no other relationship to the created object.

jeffreytse Updated
grimoire

File contents

jeffreytse/grimoire-core commit a4c67c5f50

Frequently asked questions

npx get-skill add jeffreytse/apply-creator-pattern