User talk:Yaossg

functions and methods
and  are methods, it was not incorrect to call them methods. C++ uses objects and classes. is the notation for a member function of a class. The name for a member function of a class or object is a "method". – Sealbudsman talk/contr 17:43, 18 February 2017 (UTC)
 * It should be said that Minecraft is written in Java.
 * For Java methods,  is probably the most common way to name a method (at least in the official API specification and in many other places).
 * or  (without arguments) is added in Java 8 as valid syntax for providing a method as an argument to another method (e. g. a List implements Iterable, and Iterable.forEach may be called as  . See also StackOverflow.
 * I would actually propose changing the  notation to the   one, but the former may be conventional in the Minecraft developer community, in which case my proposal is not very useful.
 * Sealbudsman: also in C++  is a scope resolution operator (see cppreference. --AttemptToCallNil (report bug, view backtrace) 19:04, 18 February 2017 (UTC)
 * It's about MCPE, that's why I was talking about C++. This was in reference to Special:Diff/1065329 on the Pocket Edition unused features page, where the issue was whether those things were "methods" or not. Thank you for the point about the scope-resolution operator. Admittedly I don't actually know whether   and   are actually classes. –  Sealbudsman talk/contr 21:01, 18 February 2017 (UTC)
 * MCPE? Didn't notice. That explains a lot. In that case, this link may be somewhat relevant if Motive and Painting are classes. --AttemptToCallNil (report bug, view backtrace) 07:03, 19 February 2017 (UTC)
 * many c++ books' writers,c++ websties' editors and C++ experts said "please don't use 'method' in C++" also, some authority like ISO never said there's "method" in C++.(see also ISO C++ standard)someone said that because they learnt java before learning C++,and they can't change their habits.I know member function and method may have the same meaning,but just like "member varaible" and "member function" in Java are incorrect."field" and "mothod" in C++ are incorrect,too.on the other hand,if  and   are namespaces,it must be function.and I have a question: why Sealbudsman always said "a member function 'of a class' is a method" what does "of a class" mean? If it's not "of a class",what else can member function "of"?