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)