Skip to content

Files

Latest commit

428efc7 · Jan 16, 2020

History

History

property

README.md

layout title folder permalink categories tags
pattern
Property
property
/patterns/property/
Creational
Instantiation

Intent

Create hierarchy of objects and new objects using already existing objects as parents.

Class diagram

alt text

Applicability

Use the Property pattern when

  • When you like to have objects with dynamic set of fields and prototype inheritance

Real world examples