Tagged Questions
1
vote
0answers
76 views
Inheritance and constricted referencing
Let's say I have BaseA and BaseB classes. BaseB can have to several references of BaseA instances. Now, we have two other classes, DerivedA and DerivedB that respectively inherit from BaseA and BaseB.
...
6
votes
4answers
512 views
Looking for a real-world example illustrating that composition can be superior to inheritance
I watched a bunch of lectures on Clojure and functional programming by Rich Hickey as well as some of the SICP lectures, and I am sold on many concepts of functional programming. I incorporated some ...