隔离模块,又称隔离器,他有以下功能:工业现场信号干扰,转换的一种产品,他的适用范围特别的广,最常用的是环保及自动化行业。
如果一个模块更改只影响它的内部包,对它的外部包没有任何影响,那么可以只对一个单独的隔离模块进行维护,测试目标也更容易确定。
If a change to a module affects only its internals, with no impact to its external contract, then maintenance can be applied to a single isolated module and testing can be better targeted.
由于要处理的代码模块有成百上千个,因此最佳起点是显示找到错误的输出位置,然后从该位置开始逆向查找来隔离问题。
With hundreds of code modules to deal with, a good place to begin is where the output revealing the bug is found, then work your way backward from there to isolate the problem.
所以,在这个系列的下一篇文章中,我们会探讨 Vim 的简单插件架构,它允许您析出 .vimrc 的一部分,并将其隔离在单独的模块中。
So, in the next article in this series we’ll explore Vim’s simple plug-in architecture, which allows you to factor out parts of your .vimrc and isolate them in separate modules.
应用推荐