Y
Hacker News
new
|
ask
|
show
|
jobs
by
CaptainFever
1093 days ago
Yep, but with the added condition of “don’t DRY pre-maturely, that is, before you have duplicated code”.
1 comments
Jtsummers
1093 days ago
Which, coincidentally, is also the advice paired with DRY by most competent people (including in the main book people seem to have learned DRY from,
The Pragmatic Programmer
). Apply it after repetitions, not before.
link