21 Nov
2007
21 Nov
'07
7:48 a.m.
ntoronto@cs.byu.edu wrote:
There are two common method-calling cases, and an uncommon one. In order of expected number of occurrences, with #3 being quite low:
1. self.method(...)
2. super.method(...)
3. DistantParent.method(self, ...)
You're still missing an important case. I would rank them as 1. self.method(...) 2. DirectParent.method(self, ...) 3. super.method(...) 4. DistantParent.method(self, ...) Anything that made number 2 difficult would be unacceptable. -- Greg