mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 09:25:54 +00:00
fdb9be1e76
This makes cleaner URLs thanks to jekyll
567 B
567 B
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags |
|---|---|---|---|---|---|
| pattern | Property | property | /patterns/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
