自动售货机最简单的用例是维护接口。
The simplest use case for the vending machine is the maintenance interface.
这样有助于避免单个庞大的接口,从而简化各个组件的维护。
This helps avoid monolithic interfaces and simplifies the maintenance of the separate components.
服务提供者必须选择是否为多个客户端提供多个接口——这非常难于实现和维护——还是提供单个“全能”折衷接口。
Service provides must choose whether to provide multiple interfaces for multiple clients — which is hard to develop and maintain — or to provide a single 'one-size-fits-all' compromise interface.
应用推荐