Would Pete get made fun of if he couldn't explain the difference between a member function and a method and why this distinction matters in C++ more than using the term understood everywhere else?
Ok, after 5 days I think we can safley describe Pete as a muppet given the total inability of anyone to describe a meaningful difference between member function and method either dfinitionally or in understanding by a desired audience. (Arguably those who understand the latter are a proper superset of the former).
The C++ community default hostility to everyone always really sucks. Useless, counter-productive pedantry forms part of this - NOT the parent is has been polite. Yes I'm being hostile, to Pete, who does not exist. Bjarne does, he likes belittling people in public. The C++ community is not hostile to him about doing it. Should some of us be doing that sometimes?
C++ literature, it was common all the way back before the standard came to be.
Example, Turbo C++ manual from 1990, 8 years before the standard.
It is no different from several languages having their own meaning for functor, e.g. it has three different meanings across C++, Haskell and Standard ML/OCaml.
Or what mixins mean between several OOP languages.
It's not just this, it's everywhere. It's as though C++ is an alternative not to other programming languages but to the entire discipline of Computer Science. The cases where this results in C++ having its own weird names for existing ideas are slightly annoying but the cases where the same terms mean something else quickly become infuriating.
The choice (in C++ and then Java and C#) to pretend that these "member functions" are somehow part of the data structure also more or less guarantees that some students will end up confused about what's actually in the physical representation. Of course the "git gud noob" mindset of C++ doesn't see that as a problem :/
To be fair, C++ isn't alone in this, lets go back into the 1970 and 1980's and compare OOP languages, including failing ones, and FP languages as well, to see how common many of those terms have prevailed to modern times, in what shape and form.
C++ has plenty of warts to complain about, however complaining for the sake of complaining usually doesn't win attention.
I checked how Simula calls its object methods, but it just uses the term procedure as for normal top level functions. At least it shows that the term method is not universal.
I think that C had members, so members that are functions just became that. But then again, members that are types are usually called nested types.
The C++ community default hostility to everyone always really sucks. Useless, counter-productive pedantry forms part of this - NOT the parent is has been polite. Yes I'm being hostile, to Pete, who does not exist. Bjarne does, he likes belittling people in public. The C++ community is not hostile to him about doing it. Should some of us be doing that sometimes?