Lisp mentality vs. Python mentality

Aahz aahz at pythoncraft.com
Sun Apr 26 14:23:53 EDT 2009


In article <xsadnQqpYqL-PGnUnZ2dnUVZ_judnZ2d at pdx.net>,
Scott David Daniels  <Scott.Daniels at Acm.Org> wrote:
>
>I don't remember who, but something famously said, in effect:
>     Debugging is hard, maybe twice as hard as writing the code in
>     the first place.  Unless you are one of those nonexistent few
>     who always write correct programs from the word go, you will
>     have to debug your own code before it works fully correctly.
>     Therefore, you had better write code so simple that you can
>     know what is going wrong with it.  If your code is too hard
>     to understand for the average programmer, you are either four
>     times as brilliant as those "average" programmers or you are
>     in big trouble.

Fom my .sig database:

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it."  --Brian W. Kernighan
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair



More information about the Python-list mailing list