Methods vs. Functions (Re: [Python-Dev] A house upon the sand)

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 28 Nov 2000 12:32:55 +1300 (NZDT)


Anyone with an interest in the string functions vs.
string methods debate should read this article, which
was referenced in comp.lang.python recently:

    How Non-Member Functions Improve Encapsulation
    by Scott Meyers
    http://www.cuj.com/archive/1802/feature.html

Mr. Meyers presents some very well-reasoned arguments
against the everything-should-be-a-method mentality.

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	   +--------------------------------------+