• 0 Posts
  • 108 Comments
Joined 11 months ago
cake
Cake day: January 13th, 2024

help-circle


  • I’m almost always of the opinion that refactoring is better than a rewrite as long as the tech stack is supportable.

    Everyone wants to rewrite stuff, because the old system is ‘needlessly complicated’. 90% of the time though, they end up finding it was complicated for a reason and it all ends up going back in. It does allow a system to be written with the full knowledge of its scope though, instead of an old system that has been repeatedly bodjed and expanded. Finally, if your old tech stack is unsupportable (not just uncool, unsupportable) then it can be the most feasible way. It will take ages though with no/little return until it’s all finished.

    Refactoring is more difficult, as developers need to understand the existing codebase more to be able to safely upgrade it in situ. It does mean you can get continuous improvement through the process though as you update things bit by bit. You do need to test that each change doesn’t have unexpected impact though, and this can be difficult to do in badly written systems.

    Most Devs hate working on other people’s code though, so prefer rewrites.

    (Ran out of time to go into more detail)


















  • It does mention that they send some of these in, and sometimes they get responses back that they are fine.

    That covers all of your senior engineers that end up spending more time speccing/investigating things than code.

    This kind of tool is probably very useful in ‘fiefdom’ companies where middle managers refuse to fire people because then they lose a headcount, or just protect their cronies. Having a central team that cuts across the company investigating that would be a good idea.

    Unfortunately in a lot of cases, I can see people being fired off that even though they are doing other work, just because management don’t understand what they do. Or worse because someone sells the tool as being flawless and they just fire anyone it picks up.