Mark Janssen wrote: > I have to say it is quite strange to > me that there is no distinction made between IS-A relationship and > HAS-A relationships with regard to the issue of Inheritence. I'm not sure what you mean by that. Inheritance is (or should be) used only for is-a relationships. Misusing it for has-a relationships leads to problems. > Python, confusingly makes no syntactic distinction, Yes, it does, as long as you use composition instead of inheritance for has-a relationships. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4