The Wrong Abstraction

An essay arguing that removing duplication early can leave code worse off.

Author
Sandi Metz
Published
20 January 2016
Kind
Personal blog essay, republished from a newsletter
Original
sandimetz.com/blog/2016/1/20/the-wrong-abstraction
Subject
Software design

What it is

Sandi Metz is a software author who sells books and courses. The post was written for a newsletter and republished on a blog. It expands a line from a RailsConf 2014 talk.

What it says

What evidence it gives

The post gives a stylized sequence of Programmer A, Programmer B and Programmer X. The author says it is a pattern seen after asking questions. It adds that the author has seen teams recover by inlining. It gives no counts or cases. It quotes one tweet reacting to the talk.

Interests and limits

The post is a short opinion piece from an author who sells books and courses. It shows no data or named project. It says only briefly that a few conditionals can sometimes help.