allowing braces around suites

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Thu Sep 2 08:09:51 EDT 2004


Antoon Pardon wrote:

> Op 2004-09-01, Steve Holden schreef <sholden at holdenweb.com>:
> 
>>If your program logic is too deeply nested with conditions then 
>>functions and classes provide a powerful logical abstraction to fight 
>>the complexity and improve code reliability and maintainability.
> 
> 
> Only if that code has some usefull abstraction. Just putting some
> code in a function doesn't provide any usefull abstraction.

In my experience, you can always find a sensible and useful abstraction, 
but in the absence of a real-world example I guess we'll have to agree 
to disagree.


-- 
"Codito ergo sum"
Roel Schroeven



More information about the Python-list mailing list