Creating intermediate facts is a useful pattern to avoid duplication of rule code.
要避免规则代码的复制,创建中间事实是一个很有用的模式。
Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.
清单9显示了我在“利用可重用代码,第2部分”中引入的一个模式,它以删除结构性重复为名义。
The generic DAO pattern (also called Typesafe DAO) is critical to reducing code duplication in the data access tier.
泛型dao模式(也称为类型安全的DAO)对于减少数据访问层中的代码重复非常重要。
应用推荐