mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 14:59:37 +00:00
fbb12b53ba
I did the job and splitted up the readme, hopefully everything was splitted correctly...
535 B
535 B
layout, title, folder, categories, tags
| layout | title | folder | categories | tags |
|---|---|---|---|---|
| pattern | Property | property | pattern_cat | pattern_tag |
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
