Discussion about this post

User's avatar
Trenton D. Adams's avatar

I find a lot of times there's push back from developers who don't TDD, and they definitely don't do incremental test and commit.

I find tidying to be entirely about economics. If code is not getting in the way of my work I just don't touch it. Getting in the way could be where I need to understand it to make another change, in which case I may refactor it. It could be where it's core to what I'm changing, and it's difficult to read, inflexible, or whatever, and that too gets in my way. But if it ain't getting in my way, I usually leave it alone. I know that sometimes people like to tidy just because something looks bad, and I've seen projects take a very long time because of that. Code *always* looks bad, and you can actually over do it. :D

Expand full comment
Valentin Tudor Mocanu's avatar

This will not work well. When you replace the code, you will need the experience from the previous refactoring. That will make a difference.

Expand full comment
22 more comments...

No posts