词汇:or

conj. 或,或者;还是

相关场景

Some people argue that Chinese medicine is not a science. Do you agree with them? Why or why not?
有些人认为中医不是一门科学。你同意他们的观点吗?为什么或为什么不呢?
>> 26. Traditional Chinese Medicine
Do you like watching Chinese opera? Why or why not?
你喜欢看中国戏曲吗?为什么或为什么不呢?
>> 25. Chinese Art
Do you think computers would lead to the disappearance of Chinese calligraphy in the future? Why or why not?
你认为电脑会导致中国书法在未来消失吗?为什么或为什么不呢?
>> 25. Chinese Art
In some developing markets, incentive travel implies a simple arrangement or only a plane ticket and paid accommodation.
在一些发展中市场,奖励旅行意味着一种简单的安排,或者只需要一张机票和付费住宿。
>> 15. Incentive Travel
Nowadays, a good deal of business travel is related to incentive travel. Unlike a meeting, a conference, or other events , incentive travel is usually conducted purely for entertainment, rather than professional or education purposes.
如今,很多商务旅行都与奖励旅行有关。与会议、大会或其他活动不同,奖励旅行通常纯粹是为了娱乐,而不是为了专业或教育目的。
>> 15. Incentive Travel
targets met or exceeded
达到或超过目标
>> 15. Incentive Travel
It is usually undertaken as a type of employee reward by a company or institution for targets met or exceeded, or for jobs well done. This kind of travel is generally designed to help motivate employees or partners and thus to enhance productivity or achieve business objectives.
它通常是公司或机构对达到或超过目标或出色完成工作的一种员工奖励。这种旅行通常旨在帮助激励员工或合作伙伴,从而提高生产力或实现业务目标。
>> 15. Incentive Travel
A trade fair is an exhibition organized so that companies in a specific industry can showcase and demonstrate their new products or services. The convention and exhibition industry has been one of the fastest-growing industries in recent years.
贸易展览会是一种组织的展览,以便特定行业的公司可以展示和演示他们的新产品或服务。会展业是近年来发展最快的行业之一。
>> 14. Trade Fairs
Through expositions, visitors can also learn the cultural aspect of a country or a company. Therefore, a global expo and trade show company offers many quality services, which include exhibit advertisement and invitations, booth design and construction, graphics and installation, dismantling and trussing, storage and more.
通过展览,游客还可以了解一个国家或公司的文化方面。因此,一家全球性的博览会和贸易展览公司提供许多优质服务,包括展览广告和邀请、展位设计和施工、图形和安装、拆卸和搬运、存储等。
>> 13. Expo Services
The number of attendees may be so large that it needs to be organized in a hotel or a specially designed conference room or training center where the environment is right for discussions.
>> 12. Conference Services
Meetings and conferences are get-togethers of many people to hold a discussion on certain topics or have some activities. People come to attend conferences from different fields of life: business, society, religion, and so on.
>> 12. Conference Services
Generally speaking, high-end hotels may have a moderately equipped business center on one level and a nicely equipped one on the club or concierge level.
一般来说,高端酒店可能在一层有一个设备适中的商务中心,在俱乐部或礼宾层则有一个设施齐全的商务中心。
>> 10. Business Center
b:
Help the guest to try to find the passport in his luggage or the places at which he has stayed;
>> 6.Dealing with Emergencies
After listening to the guest's complaints, discuss with the guest and the parties concerned( the hotel manager or restaurant manager, etc.) about how to deal with them.
>> 5. Dealing with Complaints
e:
Some working staff at hotels or restaurants or at some scenic spots may be impolite or even rude
>> 5. Dealing with Complaints
b:
Services or places of interest are not so good as promised;
>> 5. Dealing with Complaints
a:
unsatisfactory service or delayed service at the hotel or restaurant;
>> 5. Dealing with Complaints
e:
If it takes a long time to arrive at the place of interest, the tour guide can do something to keep the guests from getting bored. For instance, the tour guide can tell some interesting Chinese stories or sing some songs to the guests.
如果到达景点需要很长时间,导游可以做点什么来让客人不无聊。例如,导游可以给客人讲一些有趣的中国故事或唱一些歌。
>> 4. On the way to the Scenery
d:
Before starting off to the places of interest, the tour guide should arrive at the meeting place at least ten minutes in advance so that the tour guide can have some time to deal with emergencies or to politely greet the guests and talk with them a little to better understand them and their needs;
>> 4. On the way to the Scenery
b:
Remind the driver of the car or coach to do full preparations for his driving in advance;
提醒汽车或长途汽车驾驶员提前做好驾驶准备;
>> 4. On the way to the Scenery
a:
Take the tour flag with oneself and carry the tickets for places of interest or for some tourist programs;
>> 4. On the way to the Scenery
d:
The proper order in which to visit different scenic spots or places of interest;
参观不同景点或名胜古迹的正确顺序;
>> 3. Talking about the Itinerary
48.memoization优化模式:
def current_user
@current_user ||= User.find(logged_in_user_id);
def shipped?(order_id) @status ||= begin file = fetch_confirmation_file ; file? parse_confirmation_file(file) : {} end @status[order_id] == :shipped end
返回的是true or false; 而current_user 返回的是变异对象;如果不希望调用者修改缓存的变量,那应该考虑让被记忆化的方法返回冻结对象。
>> Effective Ruby
37. MiniTest的测试需求:
unit testing or spec testing= behavioral specification; 在单元测试基础上封装而来。
describe("when comparing") do ... end before do ...end it("orders correctly") do ..end; before == setup; after = teardown; 如果喜欢需求测试风格,参考RSpec cucumber等。 MiniTest::Expectations
>> Effective Ruby
28. 模块和类的钩子方法:
Ruby的hook在类和模块的级别实现元编程。在类和模块中定义方法-单例方法。混合引入模块时,ruby都会调用钩子方法included or extended;这个钩子可以看作是一个,通知通知当前模块即将要被扩展到另一个类中。代理的方法只是重定向了。interited; method_added method_removed method_undefined 实例方法;singleton_method_added singleton_method_remove singleton_mothod_undefined 可以被用于模块方法或类方法。这些方法只接受一个symbol ,方法名; Triggers singleton_method_removed(:hello) class << self; remove_mothod(hello);end
>> Effective Ruby