News for hackers. Stuff that matters.
Re:Ask HN: How often do you really reuse ​your code? by mattkrea on Saturday September 12, 2015 @08:25PM (#10209898)
Do you write test cases? If not I'd recommend it. The decoupling required for effective tests leads you into modularizing things you may not have otherwise. I have seen myself that after this started code re-use in general has jumped due to the modules already sitting around where previously I may have just written somewhat similar functionality from scratch all over again in a new project.

There are no comments on this comment yet.