-
Recommendsrcmnd.app
lever door handlesTheir words
I have levers in my house and can highly recommend them. They are way more convenient than round knobs.
Sandi Metz
Programmer and teacher; wrote Practical Object-Oriented Design in Ruby and 99 Bottles of OOP.
Sandi Metz did not write this page. ppll compiled it from their own words, each linked to the source. Is this you? · Report a mistake
What they believe
-
Duplication is cheaper than the wrong abstraction, so code should not be made reusable before there are real examples of what the reuse has to do.
duplication is far cheaper than the wrong abstraction
sandimetz.comSaid 20 Jan 2016This on korrents
The bold line is korrents’ wording; the quote is theirs. These one: what they wrote before what they said aloud, one per source, newest first.
Feed
As its own page →Hiding
21 February 2018
20 January 2016
From one piece The Wrong Abstraction 4 beliefs · sandimetz.com
-
korrents.com
Parameters and conditional branches accumulating inside shared code are the diagnostic that the abstraction is wrong.Their words
If you find yourself passing parameters and adding conditional paths through shared code, the abstraction is incorrect.
-
Their words
Once an abstraction is proved wrong the best strategy is to re-introduce duplication and let it show you what's right.
-
Their words
Existing code exerts a powerful influence. Its very presence argues that it is both correct and necessary.
+ 1 more
-
Their words
duplication is far cheaper than the wrong abstraction
Nothing matches.
Beliefs
Korrents What they believe 4 beliefs — each backed by an exact quote.
Each is a — compiled by korrents.com, not by them: the one-line wordings are korrents', the quotes are theirs.
Recent
Duplication is cheaper than the wrong abstraction, so code should not be made reusable before there are real examples of what the reuse has to do.
duplication is far cheaper than the wrong abstraction
The Wrong Abstraction Said 20 Jan 2016
Existing code exerts a powerful influence: its presence argues that it is correct and necessary, and sunk cost keeps teams inside an abstraction that has stopped fitting.
Existing code exerts a powerful influence. Its very presence argues that it is both correct and necessary.
The Wrong Abstraction Said 20 Jan 2016
When an abstraction turns out to be wrong, the fastest way forward is to inline it back into every caller and let the duplication show what the right one is.
Once an abstraction is proved wrong the best strategy is to re-introduce duplication and let it show you what's right.
The Wrong Abstraction Said 20 Jan 2016
Show 1 more
Parameters and conditional branches accumulating inside shared code are the diagnostic that the abstraction is wrong.
If you find yourself passing parameters and adding conditional paths through shared code, the abstraction is incorrect.
The Wrong Abstraction Said 20 Jan 2016
Beliefs others hold too
Duplication is cheaper than the wrong abstraction, so code should not be made reusable before there are real examples of what the reuse has to do. 2 hold this
duplication is far cheaper than the wrong abstraction
The Wrong Abstraction Said 20 Jan 2016
What is a korrent?
A korrent is a belief a person has stated in their own words: one sentence stating the claim, backed by a quote and a source, kept at korrents.com.
Under a name here, the quoted block is what they actually said. The korrent beneath it is the claim those words support, in korrents' wording — tap it to see the record, its source, and who else holds it.
Nobody here wrote their own korrents. They are compiled from public statements, and a person can change their mind, which is recorded too.
Recommends rcmnd
rcmnd What they recommend 1 thing — each backed by an exact quote.
Compiled by rcmnd.app, not by them: the quotes are theirs, and each links to the post it was copied from.
Recent
Recommends lever door handles
I have levers in my house and can highly recommend them. They are way more convenient than round knobs.
sandimetz.com 21 Feb 2018
Where they publish
Site sandimetz.com Her site: the books, the courses and a blog.
Link verified 20 Sept 2026.
About the English under a post
Some people here publish in a language other than English. Where they do, this site shows a machine translation beneath the post, in this typeface — the site's own, not theirs.
The post itself is never changed, moved or hidden: what is set in the serif above is exactly what the person published, and it is what to quote them on. A translation can be wrong in ways that matter, especially about tone.
Only the post's own words are translated. A quoted post, a linked article and a belief on korrents.com are left in their original language.