【发布时间】:2022-08-15 20:58:11
【问题描述】:
我正在阅读 Robert c 的 celan architecture article。马丁。所以我无法理解这里的依赖规则命名:
使这种架构工作的最重要的规则是 依赖规则。这条规则说源代码依赖只能 向内点。内圈中的任何人都无法知道任何事情 关于外圈的某事。特别是,名称 外圈声明的东西不能被 在内圈中的代码。这包括函数、类。 变量或任何其他命名的软件实体。
\"
In particular, the name of something declared in an outer circle must not be mentioned by the code in the an inner circle. That includes, functions, classes. variables, or any other named software entity\"是什么意思我在外圈中使用了一个类或方法,但我无法在内圈中定义一个新的类或方法。是真的?或者其他。
标签: architecture clean-architecture