News for hackers. Stuff that matters.
Re:The impoliteness of overriding methods by jerf on Wednesday December 19, 2012 @02:28PM (#4944260)
"given that there's no native JavaScript way refer to things down the prototype chain instead of up?"

For a method "xyz", look for whether there's currently an "xyz_inner" and call that if so. It's easy enough for the Dart compiler to do the resulting paperwork; it's what compilers do. (Yes, it is yet more complicated a bit to keep going down to a second layer of inheritance but it seems like it could be done, just more paperwork. And of course the symbol names are arbitrary, it need not be "inner".)

There are no comments on this comment yet.