Modifying the Python object model
Modifying the Python object model
Posted May 17, 2018 15:55 UTC (Thu) by excors (subscriber, #95769)Parent article: Modifying the Python object model
Surely the point of writing readable code is to make it easy to come back later and modify it, not to just put it in a glass case and admire its static perfection. But if you adhere so strongly to readability that you reject any attempts to improve the code out of fear they will increase its complexity, then you've destroyed the benefits of that readability.
It's kind of the opposite of technical debt - you've spent a lot of effort building up technical credit by keeping the code readable, but that effort is wasted unless you eventually spend the credit on valuable features or performance. Obviously there's a danger of spending too much and going back into debt, but you shouldn't ignore the danger of spending too little.
