Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个主要与词汇相关的问题,关于方法调用:
当你有一个代码时
dog.sit()
你宁愿说你“叫狗的坐法”还是“叫狗的坐法”?为什么?
谢谢 ;)
鉴于您提供的选择以及您提供的情况,我可能会说“on”,因为它是在特定实例上调用的。如果它是类级别的静态方法,那么我可能会使用“of”。但实际上,当我实际与某人交谈时,我会说“call dog dot sit”;)
不要让人思考。只说你看到的dog dot sit
dog dot sit
我会说“狗点坐”或“狗,坐”