rus0000 / jsinheritance Goto Github PK
View Code? Open in Web Editor NEWJavaScript prototype-based inheritance visualized
License: MIT License
JavaScript prototype-based inheritance visualized
License: MIT License
"This is a beginner-level post, just to clarify and visualize JavaScript prototype-based inheritance."
could be:
"This is a beginner level post to clarify JavaScript prototype-based inheritance via words and diagrams."
"A lot of incomplete and even wrong info can be found on Internet about JavaScript prototypal inheritance. I will just try to explain it again with help of diagrams."
could be:
"Much online information about JavaScript prototypal inheritance is scattered, wrong, confusing and misleading. This explains it as clearly, truthfully and easily as I can with clear images and words."
"JavaScript inheritance understanding is important, even if you are not going to use JavaScript OOP patterns, since many of language built-in functionality based on inheritance."
could be:
"Understanding JavaScript's inheritance approaches is important because the core tenets of its design and operation have been designed around its OOP patterns and abilities. Even if you don't plan on using these it's illuminating to understand the origin and reasoning of the language's methodologies."
"I am not advocating of using OOP patterns and "classical"-like inheritance in JavaScript at all. I personally prefer using "factory" and "mixin" instead of a "constructor" pattern. But this post is not about patterns, it is only about JavaScript prototype-based inheritance mechanics visualization."
could be:
This article is clarification of prototype-based inheritance mechanics and understanding them through visualisation. My personal preferences for use of "factory" and "mixin" over "constructor" patterns does not colour the article. I am not advocating use of OOP patterns and "classical"-like inheritance in Javascript.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.