3 ms·
All of your post is one long strawman. I could copy your structure by replacing "bad code" with "no business utility" but I don't see the point, as it would be
by Zababa 5y ago
All of your post is one long strawman. I could copy your structure by replacing "bad code" with "no business utility" but I don't see the point, as it would be a strawman too.
> Right, then let's create spaghetti code where everything is coupled together so that no other developer can understand each other's code, with comments in Klingon.
I reject the idea that you need to split your code into services as soon as multiple developers are working on it. I also reject the idea that everyone needs well-encapsulated piece of code to be able to work, with careful comments explaining everything and a great documentation. That's the ideal case, but life is not always ideal. Some code that you will have to work with is not perfect, and you have to understand it and modify it. Deal with it, that's your job. Sometimes the business needs one small feature delivered in a few days, not a month-long refactor to make "clean code".
- deleted 5y ago[deleted]
- 29athrowaway 5y agoIt only takes a month if you have a lot to change. If you keep things in order it should not take as much.
- Zababa 5y agoI work on a codebase of 16 millions lines of code. In general it's a relatively good codebase, but it's far from perfect. Some things are easy to refactor, so we try to do it. Some other would require big architectural changes. Sure, I would love for the product to be perfect, but perfect evolves with time, and the codebase is 35 years old. You just have to live with imperfect code.