[Python-Dev] Re: Where to put wrap_text()?

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 04 Jun 2002 13:17:38 +1200 (NZST)


Greg Ward <gward@python.net>:

> despite being warned just today on the conceptual/philosophical
> danger of classes whose names end in "-er" [1]
> 
> [1] objects should *be*, not *do*, and class names like HelpFormatter
>     and TextWrapper are impositions of procedural abstraction onto
>     OOP.

I disagree with this statement completely. Surely the
concept of objects *doing* things is central to the
whole idea of OO! Why do you think objects have
things called "methods"?-)

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+