https://github.com/patrickjs/javascript-class-examples
Different examples of OOP "class" with "inheritance" done using JavaScript including languages that transpile into js. Take notice to the amount of boilerplate that's needed in ES5 compared to ES6. These examples all have the same interface with pros/cons for each pattern. If they seem similar that's whole point especially the difference between prototypal and pseudo-classical.
https://github.com/patrickjs/javascript-class-examples
Last synced: 9 months ago
JSON representation
Different examples of OOP "class" with "inheritance" done using JavaScript including languages that transpile into js. Take notice to the amount of boilerplate that's needed in ES5 compared to ES6. These examples all have the same interface with pros/cons for each pattern. If they seem similar that's whole point especially the difference between prototypal and pseudo-classical.
- Host: GitHub
- URL: https://github.com/patrickjs/javascript-class-examples
- Owner: PatrickJS
- License: mit
- Created: 2015-01-07T07:55:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-07T08:54:49.000Z (almost 11 years ago)
- Last Synced: 2024-10-05T09:20:49.032Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://gist.github.com/gdi2290/bec4889e0a5785cae2a9#gdi2290
- Size: 127 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0