numinous vs olympic abstractionshttps://twitter.com/LTF_01/status/1004061149812404224 …
-
-
well, look, we're talking about traditional by-the-book OOP so at some level you have an interface defined for both Car and Windshield so you are by no means required to have getters for all 30 properties, only the ones your interface defines.
-
building on that though, if windshield is a public member attribute then you don't have to go through with all the boilerplate of pushing up one layer of encapsulation. presumably you want to do that because the example I showed has a IoC/dependency injection thing going on.
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.