Functions vs OOP
noreply at domain.invalid
Sat Sep 3 23:34:05 CEST 2011
On 9/3/2011 3:15 PM, Terry Reedy wrote:
>> William Gill wrote:
>>> During some recent research, and re-familiarization with Python, I came
>>> across documentation
> Ours, or someone else's?
> Since in Python, everything is an object, that would mean that every
> function has to be a method, which would mean creating classes just to
> have a class to attach functions to. How awful.
Exactly why I asked, but I realize the the mistake was mine. I think
they were talking about "functional programming" not "using functions in
an OO program."
More information about the Python-list