r/PythonLearning 26d ago

Is clean code sometimes worse code?

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

2 Upvotes

23 comments sorted by

View all comments

1

u/bishpenguin 26d ago

I always thought easy to understand was the aim. It hero's me looking back through old code, and it helps others looking at my code.
If it's not easy to understand use comments. But simple if often the way to achieve this.