Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratracegrad/javascript-instantiation-patterns
Demonstration of Functional, Functional Shared, Prototypal and Pseudo-Classical Instantiation Methods
https://github.com/ratracegrad/javascript-instantiation-patterns
Last synced: about 2 months ago
JSON representation
Demonstration of Functional, Functional Shared, Prototypal and Pseudo-Classical Instantiation Methods
- Host: GitHub
- URL: https://github.com/ratracegrad/javascript-instantiation-patterns
- Owner: ratracegrad
- Created: 2015-04-27T02:52:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-27T02:56:44.000Z (over 9 years ago)
- Last Synced: 2023-02-27T12:06:31.800Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Javascript Instantiation Patterns
JavaScript provide four different instantion patterns. They are:
* Functional
* Functional Shared
* Prototypal
* Pseudo-ClassicalThis repo shows how to implment all four of these instantiation patterns. Functionality for each pattern is shown in the use of a stack and a queue.
Methods to push, pull and show size of a stack are implmented in all four instantiation patterns.
Methods to enqueue, dequeue and show size of a queue are implement in all four instantiation patterns.