On Sun, May 18, 2014 at 10:23 PM, 'Terry Brown' via leo-editor
<[email protected]> wrote:
> ...the problem here is that I don't understand super().
:-) I never have wanted to use super because I prefer::
aClassName.aFunctionName(self, args...)
In fact, the only time I can recall using even this pattern is when
initing a base class. Here is an example from the bufferCommandsClass
ctor::
baseEditCommandsClass.__init__(self,c)
# init the base class.
This "static" pattern makes more sense to me because we are explicitly
calling the one and *only* desired base class. If a class has more
than one base class (a pattern that never use), then we would want to
call all of the ctors of the base class, in a particular, explicit,
order.
Having said all this, I don't want to discourage anyone from a deeper
understanding of super ;-)
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.