Re:Inheritance Is Terrible
by cdevs on Saturday March 19, 2016 @11:55PM
(#11321728)
Isn't this the talk that leads to the creation of setters and getters. If all items implement a getPrice() function then the caller doesn't care about what mix of vars adds up to that items price in the background, return royalties+tax+whatever..
[ Parent
| on HN ]
There are no comments on this comment yet.