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/ArkhKGB Nov 29 '15

Sometimes you have to take the time to put up the foundation for the work which will produce value.

If you spend 90% of your time debugging instead of producing value it is time to not rewrite but refactor your codebase by using the scout method: leave everything you touch while debugging cleaner and easier to maintain than how you found them. It is still "moving the cheese around" but after 6 month of cleaning you should start feeling that adding new functionalities become easier.

1

u/[deleted] Nov 29 '15

If you spend 90% of your time debugging

It takes a lot of dysfunction on behalf of engineering and management for things to get this bad.

If you "clean as you go" you'll never get here.