2 ms·
On the contrary, I love underengineered codebases, which is why I love working at startups. There's a certain thrill to replacing 4000 lines of code with 400. U
by muzani 6y ago
On the contrary, I love underengineered codebases, which is why I love working at startups. There's a certain thrill to replacing 4000 lines of code with 400. Usually these are the same code copy pasted in 8 different places, so I plug it all into a helper class, reduce 4 hours of work into 10 minutes, and feel really productive.
I inherited overengineered ones a few times and it's terrible. There's the Chesterton's Fence to be careful of, where some thing seemed pointless but fenced off an obscure bug. The pre-Kotlin Android era also had a lot of hacks to reduce boilerplate, which ended up being a tradeoff between spending 1/3 of your time dealing with easily fixed dumb bugs from copypasted code, or spending 1/3 of your time dealing with complex bugs from testing issues, code that reduced boilerplate, old things that were deprecated in new APIs, and so on.