This is the code I ultimately refactor into its own idiomatic pattern in "Leveraging reusable code, Part 1."
这就是在“利用可重用代码,第1部分”中我最终重构到它的惯用模式中的代码。
This is a technical idiomatic pattern relating to testing that I can easily anticipate needing in lots of contexts.
这是与测试相关的一种技术惯用模式,我可在多个上下文中轻松预见该测试的有用性。
However, if you can make the idiomatic pattern stand out from other code, it's easier to see that it is in fact something different.
不过,如果您可以将惯用模式从其他代码中凸显出来,这样就可以更容易地看到它的不同。
In fact, this illustrates that the way entries are harvested and added to sets of attributes is an idiomatic pattern in the Struts code base.
实际上,这解释了利用并将条目添加到属性集中的方法在Struts代码库中是一种惯用模式。
One way to clean up the design of multiple classes in the Struts code base is to realize that this idiomatic pattern exists and consolidate that behavior.
要清理Struts代码库中多个类的设计,一种方法就是意识到这种惯用模式的存在并巩固这一行为。
Through sentences one can trace the thought pattern of the native English writer and the acquisition of thought pattern is an important factor that leads to idiomatic English.
通过句子可以窥见英语本族人的思维方式,而思维方式是决定能否写地道英语的重要因素。
Through sentences one can trace the thought pattern of the native English writer and the acquisition of thought pattern is an important factor that leads to idiomatic English.
通过句子可以窥见英语本族人的思维方式,而思维方式是决定能否写地道英语的重要因素。
应用推荐