Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bsza
on July 7, 2022
|
parent
|
context
|
favorite
| on:
DRY is an over-rated programming principle?
The very first "refactor" is broken, the last line should be `make_pizza(["ham", "pineapple"])`. Which is actually very easy to notice if you actively watch out for repetitions.
Ironically the author just demonstrated why DRY is a great principle.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Ironically the author just demonstrated why DRY is a great principle.