3 ms·
He has reduced OOP to polymorphism/encapsulation/inheritance. Is that what you mean by the straw man?
by mrkeen 8y ago
He has reduced OOP to polymorphism/encapsulation/inheritance. Is that what you mean by the straw man?
- 0x445442 8y agoNot sure if nathanaldensr means that but that's what I would say is the straw man. Also, it's been my experience a lot of developers have a lot to learn about OOP principles. The most common OOP idea that's seemed to have been lost is asking an object to reason about its current state. If I had a nickel for every time I see code like below... String fooJson = new Gson().toJson(foo, Foo.class); or Double totalTax = TaxHelper.totalTax(orderItem.getCityTax(), orderItem.getCountyTax(), orderItem.getStateTax());
- peteradio 8y agoHe specifically says inheritance and polymorphism are irrelevant in the video. His problem is with poor encapsulation which is not specific to OOP.