这种简洁性允许代码具有ide不可知性。
这种形式的分层有其缺陷,因为它假设高阶服务单元的位置不可知性和调用的同步性。
This form of layering does have its own drawbacks because its bakes in assumptions of location agnosticity and synchronicity of invocation into the higher order service units.
通过保持对于所依赖对象的不可知性,一个服务是高内聚的,功能专一的并且易于进化的,这一切都是通过坚持一个良好定义的契约实现的。
By remaining agnostic to its dependencies, a service is focused, clutter-free and is able to evolve easily, all while adhering to a well-defined contract.
通过保持对于所依赖对象的不可知性,一个服务是高内聚的,功能专一的并且易于进化的,这一切都是通过坚持一个良好定义的契约实现的。
By remaining agnostic to its dependencies, a service is focused, clutter-free and is able to evolve easily, all while adhering to a well-defined contract.
应用推荐