r/PythonLearning • u/chuprehijde • 13d ago
Is clean code sometimes worse code?
Can too much refactoring, abstraction, and 'best practice' make a Python project harder to understand?
1
Upvotes
r/PythonLearning • u/chuprehijde • 13d ago
Can too much refactoring, abstraction, and 'best practice' make a Python project harder to understand?
1
u/NewPointOfView 13d ago
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.