Django as exemplary design
Aahz
aahz at pythoncraft.com
Thu May 6 15:37:12 EDT 2010
In article <4be132f1$0$20639$426a74cc at news.free.fr>,
Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>
>The more bad code (mine or not) I have to maintain (or even just read
>and understand), the more I pay attention to my own design and code
>quality. Sometimes you only understand why something is bad, why it is
>bad and how bad it is when you have to deal with it :(
...and sometimes it takes several months of living with bad code to
really understand how to rewrite it. I'm currently rewriting a chunk of
bad code that merges three datasources. If I had done the rewriting
five months ago (when I first started feeling that I understood the
codebase well enough to do the job), I would not be doing the complete
rewrite that I'm currently doing, which would have led to suboptimal
code lasting longer.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
More information about the Python-list
mailing list