4 ms·
The reversal of the "extends" paradigm is interesting. It seems very natural. What made you go with that? (I know I'm not really responding to your comment but
by hammerdr 16y ago
The reversal of the "extends" paradigm is interesting. It seems very natural. What made you go with that?
(I know I'm not really responding to your comment but I think it speaks for itself).
- jeresig 16y agoGood question - I was inspired heavily by Dean Edwards' original Base Class library, it seemed to make the most sense when I was using it. The original code: http://dean.edwards.name/weblog/2006/03/base/ http://dean.edwards.name/weblog/2006/03/base/ The current code: http://code.google.com/p/base2/source/browse/trunk/src/base2/Base.js http://code.google.com/p/base2/source/browse/trunk/src/base2...
- the_mitsuhiko 16y ago> The reversal of the "extends" paradigm is interesting. It seems very natural. What made you go with that? I think the earliest version of that was prototype which I think used Class.create and Object.extend. I've seen that in many JavaScript class implementations so far.