If you define an invoice method on a class, you have no way of knowing that some other user of that class won't define a different, incompatible method also named invoice.
如果您在类上定义invoice方法,则您没有办法知道该类的一些其他用户会不会定义不同的、不兼容的方法,还命名为invoice。
If you define an invoice method on a class, you have no way of knowing that some other user of that class won't define a different, incompatible method also named invoice.
如果您在类上定义invoice方法,则您没有办法知道该类的一些其他用户会不会定义不同的、不兼容的方法,还命名为invoice。
应用推荐