Confessions of a Python fanboy
user at example.net
Thu Jul 30 14:03:38 CEST 2009
> That's an interesting point, but not relevant at the end of the day:
> `foo.length` and `length(foo)` have the same "practicality". On the
> other hand Ruby can be praised for the coherence: everything's a method
> period end of the story; while Python does have a dichotomy between
> methods and functions/generic methods (whether or not that dichotomy
> bothers users is another issue).
how would you correct a newbie (like me) who says:
"well, the main difference between a function and a method (from the
caller's pow) is a syntactic one:
as opposed to:
but the effect is just about the same."
More information about the Python-list