IMHO, this is an example of leaky abstraction. I don't know and I don't want to know why I can't simply write.
如我拙见,这有一个leaky abstraction的例子。
When a DAO operation fails the SQLException or other persistence technology-specific exception should be translated to ensure that DAO interfaces do not provide a leaky abstraction
当DAO操作失败时,SQLException或者其他特殊持久化技术的异常应该被翻译,以确保DAO接口不会有漏掉的抽象。
Unfortunately, the abstraction is leaky: in my ZIP code validator, for example, I would have liked to use regular expressions to perform the check.
不幸的是,抽象是有漏洞的:例如,在我的ZIP代码验证器中,本想使用正则表达式执行检测。
In the UK the organisation points to the culprit of ageing infrastructure with leaky pipes, unsustainable abstraction by agriculture and industry, and urbanisation.
在英国,该组织指出罪魁祸首是老化而漏水的水管、工农业对水资源不可持续的利用以及城市化进程。
GORM helps mitigate the leaky-abstraction problem by allowing you to represent your object model in a way that makes sense in Groovy.
GORM有助于缓解抽象泄漏问题,它支持使用对Groovy有意义的方式表示对象模型,由 GORM在幕后处理关系数据库的问题。
GORM helps mitigate the leaky-abstraction problem by allowing you to represent your object model in a way that makes sense in Groovy.
GORM有助于缓解抽象泄漏问题,它支持使用对Groovy有意义的方式表示对象模型,由 GORM在幕后处理关系数据库的问题。
应用推荐