News for hackers. Stuff that matters.
Re:In Defense of Copy and Paste by darkchasma on Friday February 08, 2013 @08:08PM (#5191075)
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.
Re:In Defense of Copy and Paste by lanstein on Friday February 08, 2013 @08:27PM (#5191115)
principle
Re:In Defense of Copy and Paste by darkchasma on Saturday February 09, 2013 @01:32PM (#5193390)
Lol. Do I look less stupid if I say it's my principal principle?