Instead we opt to design for the lack of transactions and build in failure modes that allow the client to succeed even in the event of database availability issues.
相反,我们选择缺少事务的设计,并加入失效模式,失效模式可以使客户端甚至在发生数据库可用性问题的时候也能继续进行。
As a result, we might opt to refactor the convenience layer API by using a delegation design pattern instead of inheritance.
因此,我们重构了便利层api,使用委托设计模式而不是继承。
Given a choice, most people would opt for the iPad, with its elegant design and larger display, over the relatively clunky Streak — which happens to cost more.
如果在这两种之间选择的话,大多数用户将会选择设计优雅、宽大屏幕的苹果,而笨拙的Streak则会让人感觉花费了更多。
应用推荐