Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
darkchasma
on Feb 9, 2013
|
parent
|
context
|
favorite
| on:
In Defense of Copy and Paste
If your code is starting to look ugly, refactor it. If your refactoring is looking ugly, stop, you're doing it wrong. If a test breaks because of your refactoring, stop, you're doing it wrong. I call this the Don't be Stupid principal.
lanstein
on Feb 9, 2013
[–]
principle
darkchasma
on Feb 9, 2013
|
parent
[–]
Lol. Do I look less stupid if I say it's my principal principle?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: