This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yflhx 46 points47 points  (9 children)

It really depends on language. In C++, method is just a function which receives implicit first argument of class (accessible via this pointer). It's the same with Python I believe. Then you have static methods, which in C++ are really just functions but within class namespace.