Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23410

Hynek Schlawack: Subclassing in Python Redux

$
0
0

The conflict between subclassing and composition is as old as object-oriented programming. The latest crop of languages like Go or Rust prove that you don’t need subclassing to successfully write code. But what’s a pragmatic approach to subclassing in Python, specifically?


Viewing all articles
Browse latest Browse all 23410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>