The most common “presenting” pathology in the hoarded codebases I’ve seen - by far - is that developers don’t feel they have time and/or permission to refactor code.
-
Show this thread
-
Frequently occurring alongside that pathology is another - that developers see “refactoring” as a completely separate activity from building features or fixing bugs. A key indicator of this pathology is seeing stories in the backlog like “refactor user class.”
4 replies 41 retweets 235 likesShow this thread -
Just like its physical analog, a hoarded codebase only improves if you intensively work on changing those habits. This means deciding you will always do small, opportunistic refactorings when they appear to you in the course of fixing a bug or adding a feature.
4 replies 31 retweets 189 likesShow this thread -
I’m not talking about taking three extra days on a 1-point story to totally rewrite the user class. I’m talking about noticing a method you’re working in is out of place, and moving it - even if you don’t have time to extract the rest of the concept from the 8000-line file.
4 replies 11 retweets 126 likesShow this thread -
Just like when you’re dealing with its physical analog, your number one most important mantra when you want to improve a hoarded codebase is: Improvement Over Consistency.
6 replies 80 retweets 346 likesShow this thread -
This is SO HARD for us as developers. It gets drilled into us from day one that consistency is key to good code. And if you had good code, then sure, that would be true. But right now you don’t. Improvement Over Consistency.
2 replies 37 retweets 238 likesShow this thread -
One book on the shelf and five in the pile is better than six books in the pile. Improvement Over Consistency.
5 replies 31 retweets 232 likesShow this thread -
Replying to @sarahmei
This is so good. I've gotten so much push back over small refactoring. The push back always boils down to "why don't you refactor everything then?" Because that would take forever.
1 reply 0 retweets 0 likes -
Replying to @jpterracina @sarahmei
I could usually convince all the stakeholders, but it would take way too much effort. More effort than the code change. But I don't have the time or energy for 5 hours of meetings for each PR. So eventually I would avoid making any changes not directly related to the JIRA ticket
1 reply 0 retweets 0 likes -
Replying to @jpterracina @sarahmei
What I learned from that job was that communication is a two way street. And I'm not a good enough communicator to convince people who just don't want to listen. Life is much easier when you find stakeholders that actually want to listen.
1 reply 0 retweets 0 likes
There are people in this industry who will actively misinterpret what you say. They will go out of their way to choose the least charitable interpretation of your words, actions, and code.
-
-
Replying to @jpterracina @sarahmei
Communication skills can help against this to a point, but at some point you just have to find better people to work with. It just isn't worth it.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.