Unification of Methods and Functions
David MacQuigg
dmq at gain.com
Tue May 25 06:45:11 EDT 2004
On 25 May 2004 07:08:37 GMT, Antoon Pardon <apardon at forel.vub.ac.be>
wrote:
>Op 2004-05-22, David MacQuigg schreef <dmq at gain.com>:
>> If you are saying we can totally ignore the different method forms, I
>> think you are wrong. Bound and unbound methods, for example, will be
>> needed in almost any sizable program. The need for static methods
>> will arise when the student first writes a method that needs to work
>> without a current instance.
>
>He doesn't need a method for that. He can just write a function.
>
>Why do you want to write a method in circumstances that call for
>a function?
See my reply to Greg Ewing on Mon, 24 May 2004 16:17:59 -0700
More information about the Python-list
mailing list