- properly categorize all patterns - remove pattern list from readme - minor fixes to readme - removed "introduction" because its not a pattern and an error i committed some time ago
559 B
559 B
layout, title, folder, permalink, categories, tags
layout | title | folder | permalink | categories | tags |
---|---|---|---|---|---|
pattern | Property | property | /patterns/property/ | Creational | Java |
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