4 ms·
Here are a couple more links with good discussion about prototype-based programming: * http://www.c2.com/cgi/wiki?PrototypeBasedProgramming http://www.c2.com/c
by silentbicycle 18y ago
Here are a couple more links with good discussion about prototype-based programming:
* http://www.c2.com/cgi/wiki?PrototypeBasedProgramming http://www.c2.com/cgi/wiki?PrototypeBasedProgramming
* http://www.c2.com/cgi/wiki?ClassesPrototypesComparison http://www.c2.com/cgi/wiki?ClassesPrototypesComparison
SY is mostly talking about prototype-based programming in terms of Javascript, but it is also well-supported in some other languages, especially Lua (The chapter on OO in _Programming in Lua_ is IMHO the clearest explanation of prototypes I've found.), and it's probably possible to implement an inefficient-but-good-enough-for-brainstorming version in most languages.
- dhotson 18y agoThanks for the links... I love the old c2 wiki. There are some real gems in there. :)
- jcromartie 18y agoIt's only old in the sense that it has been there for a long time. It's still active and updated frequently.