News for hackers. Stuff that matters.
Re:That coworker who never stops refactoring by nthj on Tuesday August 11, 2020 @11:05AM (#24121052)
Most productive refactoring carries forward from a more effectively designed data model. There can be value in pushing code around but often a lot of that can be subjective, which this thread has discussed.

Even big corporations are open to refactoring when you put it in the context of data integrity and consistency (foreign keys), because data inconsistency causes tickets which cause churn which is a number the CEO reports to the board.

Re:That coworker who never stops refactoring by thinkharderdev on Tuesday August 11, 2020 @11:17AM (#24121192)
Mostly agree but I think the distinction is not always clear between data model changes and changes to application-tier logic. In most cases you can do a particular refactor either way and you have to figure out what is the best way to achieve it. Just pushing code around is usually not tremendously valuable but it's also not particularly costly.