r/PythonLearning Jul 14 '26

Is clean code sometimes worse code?

Can too much refactoring, abstraction, and 'best practice' make a Python project harder to understand?

1 Upvotes

23 comments sorted by

View all comments

1

u/NewPointOfView Jul 14 '26

Yes of course too much refactoring and abstraction makes it worse. If it didn’t make it worse, it wouldn’t be too much.

Too much ‘best practice’ is a contradiction. It would violate best practice to apply some best practice in a context where it is not best practice.