korrents

Sandi Metz

@sandi-metz · 4 positions · 0 changes of mind

Author of Practical Object-Oriented Design in Ruby and 99 Bottles of OOP, and a teacher of object-oriented design. Her 2014 RailsConf assertion that duplication is cheaper than the wrong abstraction became one of the most-quoted lines in the craft.

Sandi Metz did not write this page.

We collected these quotes from things they published elsewhere, and every quote links to where it was said. They have no account here and have not endorsed this site. Quotes are word for word; the short line under each one is our own restatement, not their wording. Their own site. Is this you? Claim it or ask us to remove it. Or tell us what is wrong here.

  1. duplication is far cheaper than the wrong abstraction

    The Wrong Abstractionsandimetz.com 1st of 4 in this piece

  2. Existing code exerts a powerful influence. Its very presence argues that it is both correct and necessary.

    The Wrong Abstractionsandimetz.com 2nd of 4 in this piece

  3. If you find yourself passing parameters and adding conditional paths through shared code, the abstraction is incorrect.

    The Wrong Abstractionsandimetz.com 3rd of 4 in this piece

  4. Once an abstraction is proved wrong the best strategy is to re-introduce duplication and let it show you what's right.

    The Wrong Abstractionsandimetz.com 4th of 4 in this piece