Blogs / Personal blogs

Hynek Schlawack

hynek.me

Hynek Schlawack: Pythonista, Gopher, blogger, speaker, and YouTuber from Berlin / Germany.

Popular posts
11
Total points
2,667
HN comments
1,280
Rank
#563 personal

Visit hynek.me → RSS feedOn Hacker News Apr 2012 – May 2025

Software Engineering 6Programming Languages 2Infrastructure & DevOps 2Career & Management 2Tools & Productivity 1Systems & Performance 1

2

Subclassing in Python Redux

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?