Self style using JavaScript prototypal inheritance
owen at backspaces.net
owen at backspaces.net
Wed May 11 16:50:56 UTC 2016
I'm interested in using JavaScript with the style Self uses: prototypal inheritance, not classical. This is a common issue in the JS community. What's lacking is understanding of the core Self "magic", why it's so successful.
I asked about this as an Issue on Self's github page:
https://github.com/russellallen/self/issues/57
.. and was pointed to this mail group.
JS has good support for prototypal techniques. And several "champions" of its use. (Eric Elliot and Kyle Simpson are the best known)
Eric: The Two Pillars of JavaScript
https://goo.gl/u7uRV7
Kyle: JS Objects: Inherited a Mess
https://davidwalsh.name/javascript-objects
..see Part 3 for diagrams: scroll too "The Whole Pie" & "Looks are everything"
What it doesn't have is a Self-oriented guide, how to tease out of JS the success of Self.
Specifically, I'm rebuilding http://agentscript.org from a JS dialect CoffeeScript to the newest version of JS, es6. I'm attempting prototypal inheritance but I bet I'm missing a lot!
Any pointers to successful prototypal usage that would help JS succeed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20160511/84266b7b/attachment.html>
More information about the Self-interest
mailing list