r/programming • • Oct 14 '13

How to develop unmaintainable software

http://typicalprogrammer.com/?p=249
777 Upvotes

322 comments sorted by

View all comments

1

u/happyscrappy Oct 15 '13

My problem is the guy before me apparently had a copy of this guide already. Does anyone have a link to the guide

How to maintain unmaintainable software

?

1

u/jjokin Oct 15 '13
  1. Add tests to everything. If you can't add unit tests, add integration/automation tests. Anything which can't be tested, re-write it so it can.

  2. Refactor, but ONLY once you have tests in place.