JackieNim f597fc1b07
fix: Fixed pages showing up in wrong language (#1752)
* Fix languages

* Missed change for version number

* Add language field for presentation

* Revert change in README for double buffer

Co-authored-by: Jackie Nim <=>
2021-05-19 19:49:05 +03:00

27 lines
595 B
Markdown

---
layout: pattern
title: Property
folder: property
permalink: /patterns/property/
categories: Creational
language: en
tags:
- Instantiation
---
## Intent
Create hierarchy of objects and new objects using already existing
objects as parents.
## Class diagram
![alt text](./etc/property.png "Property")
## Applicability
Use the Property pattern when
* When you like to have objects with dynamic set of fields and prototype inheritance
## Real world examples
* [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain) prototype inheritance