News for hackers. Stuff that matters.
Re:Goodbye, Clean Code by Hendrikto on Saturday January 11, 2020 @06:07PM (#22023047)
> attempt to predict the future

Sounds very error prone…

Re:Goodbye, Clean Code by lilyball on Saturday January 11, 2020 @07:10PM (#22023401)
It is, which is why you want to be conservative. If the duplicated code is obviously supposed to be identical, then predicting the future should be trivial. If it's not obvious, then it's a question of "can I conceive of a reason why I'd want to update one and not the others?". And if the answer is unclear, wait a while and see if anything comes up.
Re:Goodbye, Clean Code by marcus_holmes on Saturday January 11, 2020 @06:28PM (#22023176)
This. I wait until the feature is mature, and has been used by actual people. There's no point trying to clean up code that hasn't finished evolving, or that I don't understand fully.

It also means I have a tidy stack of refactoring to do when I'm bored or need a quick motivational win :)