News for hackers. Stuff that matters.
Re:When did people favor composition over inheritance? by ferd on Sunday November 16, 2025 @08:29AM (#45944993)
You are always dealing with state and control-flow in software design. The challenge is to minimize state at much as possible, make it immutable as much as possible and simplify you control-flow as much as possible. OO-style inheritance of implementation (with mutable state dispersed all over the place and pinball-style control-flow) goes against those goals.

Closer to the "ideal": declarative approaches, pure functions, data-oriented pipelines, logic programming.

There are no comments on this comment yet.