方法指针只是一种方便的机制。
可以将方法指针当作调用对象方法的方便机制。
Think of the method pointer as a short-hand convenience mechanism for invoking methods along an object graph.
关于方法指针,有意思的事情是:它们的使用可能就表明代码违反了迪米特法则。
The interesting thing about method Pointers is that their use can be an indication that the code violates the Law of Demeter.
应用推荐