Hacker News new | ask | show | jobs
by mannykannot 2564 days ago
Why does every software example always involve shapes?

Because they allow us to avoid discussing the complications that arise when entities have lifetimes, over which, at different stages, different operations are meaningful.

1 comments

Because it's one of the very few cases where class inheritance is an elegant solution.