What does "non-conformant parent" mean?
[email protected] (Alexander Rios) Fri, 15 Jul 2005 16:29:34 -0400
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
I've been away from active Eiffel programming for a while (maybe a year). I think I have missed something big. As I am browsing the library documentation for class COMMAND in the "design-patterns" cluster. I notice the phrase "non-conformant parent" and it confuses me. According to the documentation, class COMMAND has a "non-conforming parent" class ANY. At first thought I think that means that COMMAND inherits from ANY but does not conform to class ANY.  My immediate reaction is: "HUH?" What does that mean? I continue to try to understand, and  check the documentation for class COMMAND and am pleased to know that COMMAND does have all the features that I expect it to "get" from class ANY (if it inherited them from ANY), and am temporarily relieved, since I know I can "call" those features. So what does "non-conforming parent" mean? Does it mean that I cannot pass a COMMAND as an argument to a procedure that expects an ANY argument? If so, then how is "non-conformance" valuable to me? I do not see any advantage to "non-conforming parents". Can anyone open my eyes? Does this have something to do with multiple inheritance? Thanks. __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp