layout, title, folder, permalink, pumlid, categories, tags
layout | title | folder | permalink | pumlid | categories | tags | ||
---|---|---|---|---|---|---|---|---|
pattern | Property | property | /patterns/property/ | FSV13OCm30NGLTe1YEziumOBKYMEPN-3s9wUUdlltRJst2Izlmx0OYLolihUSEGdGxnEXIXAdODQpul1Jby-UTaasgwBCI2kGOFZ1pAV9ewR1FMVaZwAvUWF | Creational |
|
Intent
Create hierarchy of objects and new objects using already existing objects as parents.
Applicability
Use the Property pattern when
- when you like to have objects with dynamic set of fields and prototype inheritance
Real world examples
- JavaScript prototype inheritance