2 ms·
well, if I was so good to get code right at the first time, I would not need refactoring at all. Alas, I'm not :) I agree that, all the things you can do with
by riffraff 16y ago
well, if I was so good to get code right at the first time, I would not need refactoring at all. Alas, I'm not :)
I agree that, all the things you can do with automatic refactoring you can do with a change/compile/fix loop, but it imposes an higher amount of friction, which (even in a subconscious way) pushes you into not making changes.
As a ruby and python dev using vim, I can even feel this in changing a single method name (with sed, obviously not syntax aware), as a java one without a supporting ide I'd seldom venture in a "extract superclass and use it where possible as return value" kind of change.
- points 16y agoSure, maybe I like that friction. If a refactor is going to be a bit of hassle, it makes me think about it more, and evaluate if it really is a good change to make.