hackertube.io

Dan Abramov The wet codebase

eswarnichtsmehrfrei · talk · Watch on YouTube

What it is

Dan Abramov's talk on the wet codebase, using visualizations to show how removing all duplication too early produces wrong abstractions that are hard to unwind.

Why Hacker News recommends it

Recommended in DRY versus duplication debates for its visuals and its case that copy/paste can beat a wrong abstraction.

  • 3 people recommended it
  • 3 different months
  • 1 strong recommendations
  • first 2023, last 2024

What HN commenters said

  1. “Seeing what a premature, wrong abstraction looks like visually was eye opening.”

    Visualizations show what a premature wrong abstraction looks like

    halfcat, 2024-05 · Strong recommendation · in “Don't DRY Your Code Prematurely”

  2. “He says it better than I can sum up and has visual aids”

    Dan Abramov explains with visuals why premature DRY abstractions hurt

    shadowfoxx, 2023-08 · Recommendation · in “I don’t buy “duplication is cheaper than the wrong abstraction” (2021)”

  3. “I've been guilty of doing just what he says in his talk at first, removing all duplications and making the codebase DRY.”

    Abramov's talk on the cost of removing all duplication

    gosukiwi, 2023-08 · Recommendation · in “I don’t buy “duplication is cheaper than the wrong abstraction” (2021)”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: dry, abstraction, dan abramov, software design, refactoring

Also recommended by the same people