MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
inheritance
Search

[$] Inheritance versus composition

Thursday May 9, 2019. 12:21 AM , from LWN.net
<p>
The idea of "inheritance" is something that most students learn about early
on when they are studying object-oriented programming (OOP). But one of
the seminal books about OOP recommends favoring "composition" over
inheritance. Ariel Ortiz came to PyCon in Cleveland, Ohio to describe the
composition pattern and to explain the tradeoffs between using
it and inheritance.
https://lwn.net/Articles/787800/rss
News copyright owned by their original publishers | Copyright © 2004 - 2020 Zicos / 440Network
Current Date
Sep, Sat 26 - 00:55 CEST