r/programming • • Nov 28 '15

Coding is boring, unless…

https://blog.enki.com/coding-is-boring-unless-4e496720d664
671 Upvotes

390 comments sorted by

View all comments

Show parent comments

1

u/Krackor Nov 29 '15

That sounds like the code was bad, the author found the already existing solution, and now the code is fixed.

2

u/capitalsigma Nov 29 '15 edited Nov 29 '15

Copy pasting across your codebase makes it less healthy, not more healthy. Common functionality should be factored out into libraries, not duplicated. I don't see how it can ever be a good thing to spend months at a time increasing duplication across your codebase and reinventing wheels off of SO.