By arranging for objects of different types to implement common methods, we move the dispatch decision into the objects and out of an explicit conditional block.
通过安排不同类型的对象来执行公共方法,我们将分派决定移到对象中并从显式条件块中消除。
2
Adel Al Mutawa, Executive Director, Group Communications, said: "the decision to block a site is never taken lightly, and we conduct thorough investigations upon receiving requests from the public."
阿德尔·穆塔瓦(adel Al Mutawa),沟通集团执行总监,表示:“关闭网站的决定从来都不是轻易作出,我们在收到公众投诉后进行了彻底的调查。”
3
His account is the most revealing so far about his decision to block repeated requests from people demanding to see raw data behind records showing an unprecedented warming in the late 20th Century.