Y
Hacker News
new
|
ask
|
show
|
jobs
by
mcdonje
1094 days ago
TL;DR: DRY
Nice read, though. Very approachable.
1 comments
CaptainFever
1094 days ago
Yep, but with the added condition of “don’t DRY pre-maturely, that is, before you have duplicated code”.
link
Jtsummers
1094 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