If you just call a junk hauler to take it all away (the grand rebuild, aka “we should rewrite it as services!”) you don’t fix the real problem - which is the organizational incentives that put you in that place originally.
It turns out that hauling everything away and cleaning up the house doesn’t fix people’s habits that led to the hoarding. Most of the show’s partipants, after the show was over, slowly went back to a hoarded house.
Unfortunately for the creators of Hoarders, this makes very boring reality tv.
That is not progress. IMO that’s engineer malpractice.
Because it is not at all trivial to even _understand_ the incentive structure that got you where you are, let alone to negotiate a new, healthier set of incentives.
A key indicator of this pathology is seeing stories in the backlog like “refactor user class.”
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.
Improvement
Over
Consistency.
And if you had good code, then sure, that would be true. But right now you don’t.
Improvement
Over
Consistency.
Improvement
Over
Consistency.
(I mean, that’s a fair cop. I do a lot of those.)
Fantastic!
HOW do you do that?
At this point, we’ve only fixed the easier problem.
“It’s your job as a professional!” they say. “Just write good code! If they push back, just tell them ‘that’s not how I work!’”
You don’t want begrudging acceptance. You want enthusiastic buy-in.
On the surface it might look like your manager’s desires (i.e. for you finish features faster by skipping the small refactorings) are diametrically opposed to yours.
But as you improve your communication skills (by doing it badly at first), you start to get a sense of what works for different people.
It is NOT:
- knowledge of the latest framework
- how fast your tests run
- your own weak moral fiber
- your manager, PM, or CEO
It IS:
- how well you understand & work with people
To be effective, I had to put a lot of calories into learning how to people, while the guys spent those calories learning new tech.