| ▲ | soperj 2 days ago | |||||||||||||||||||||||||
the thing I've found that's produced the most productivity is actually reducing the size of our code base. Makes it way more manageable and easier to add features/fix bugs. I'd guess most code bases you could reduce by about 50% without losing anything at all. | ||||||||||||||||||||||||||
| ▲ | dimitrios1 2 days ago | parent | next [-] | |||||||||||||||||||||||||
Which again is ironic, because I've been doing that for most of my career whenever I am introduced to a legacy code base: The first thing I try to do is delete code. I think it's just good engineering practice to try and delete code as much as possible. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | nxobject 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
With luck, SWE culture will change towards caring about large-scale rearchitecture (and reward those who care enough to refactor and polish, polish, polish.) | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | rustystump 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
You would lose something but it is because the trade off in complexity isnt worth it. This is the key to keep code low. If there is a thing that is barely used but is 60% of the code, maybe it can go? Ai will try and keep it backward comp forever. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | BobbyTables2 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
I recently found Opus is pretty good at consolidating very-similar-but-different codebases. Sure, I had to tell it to so, but it trudged through and did it fairly independently… Was especially nice as refactoring test infrastructure code isn’t always very exciting… | ||||||||||||||||||||||||||
| ▲ | everforward 2 days ago | parent | prev [-] | |||||||||||||||||||||||||
I’ve toyed with the idea of splitting a deeply nested tree of code into separate libraries for this. First impression is that it’s a net negative. It gets a lot better at working within that library, and much worse at making it work within the project as a whole. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||