Short and simple functions (was: Re: Dr. Dobb's Python-URL! - weekly Python news and links (May 22))

Peter Otten __peter__ at web.de
Tue May 23 02:52:18 EDT 2006


Ben Finney wrote:

> "Andy Salnikov" <a_salnikov at yahoo.com> writes:

>>   "Too many" is always opposite to "hard to make a mistake", at least
>> in my mind.
> 
> I parsed the assertion as:
> 
>   (It's hard to
>     (make a mistake
>       (by having
>         (too many
>           (short and simple)
>         functions))))
> 
> In other words, it's not that he's saying "having too many short and
> simple functions" is difficult, nor that it's not a mistake; he's
> saying that it's difficult to get into a situation where that is the
> cause of one's mistake.

I completely agree -- and incidentally you helped me understand Andy's
statement. Thanks.

Peter




More information about the Python-list mailing list