THE VIDEO SHELF · abstraction and code duplication
Dan Abramov The wet codebase
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 HN readers recommended it
Recommended in DRY versus duplication debates for its visuals and its case that copy/paste can beat a wrong abstraction.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- eswarnichtsmehrfrei
- Topic
- abstraction and code duplication
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 5
- Recommendation years in dataset
- 2023–2024
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
The visualizations in Dan Abramov’s talk “The wet codebase” [1] really burned this concept in for me. Seeing what a premature, wrong abstraction looks like visually was eye opening. [1] [VIDEO]
halfcat on Hacker News · 2024-05
In Don't DRY Your Code PrematurelyIn my career as a software dev I've found one thing to be true - Every Paradigm I ingest that opens new windows of opportunity are great at first pass and as I learn more the more narrow the scope they can be applied. (This …
shadowfoxx on Hacker News · 2023-08
In I don’t buy “duplication is cheaper than the wrong abstraction” (2021)I like Dan Abramov's "The Wet Codebase" ( [VIDEO] ) -- I've been guilty of doing just what he says in his talk at first, removing all duplications and making the codebase DRY. But then I came to like "prefer duplication over the wrong abstraction", …
gosukiwi on Hacker News · 2023-08
In I don’t buy “duplication is cheaper than the wrong abstraction” (2021)
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.