![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OO*
昆仑山白泽
这个作者很懒,什么都没留下…
展开
-
Data abstraction - universal/dynamic data structure
Recently, I read two articles about data holders, search the key word 元数据、开放数据模型及动态系统. The scenario is that constantly we need to change the data fields, e.g., add/delete some fields. This task is ted...2007-02-09 04:37:00 · 108 阅读 · 0 评论 -
A data matrix implementation 1
Though, as I wrote before, it's very hard to come up a universal dynamic data structure to fit all needs, sometimes we still need a somewhat general dynamic data structure due to requirements. For exa...2007-02-12 23:13:00 · 108 阅读 · 0 评论 -
A data matrix implementation 2
We could add more functionalities, but in separate classes. 1. We may add a class for the following operations: sorting, querying, and merging. java 代码 import java.util.List; pu...2007-02-12 23:17:00 · 118 阅读 · 0 评论 -
Proper abstraction level makes difference.
Programming is an art, the same solution to a problem could have different versions of coding. Enterprise programming, due to its large code base, is about to provide functionalities while managing co...2007-02-12 23:47:00 · 125 阅读 · 0 评论 -
Rich Domain Model
The discussion started with Martin's post: http://www.martinfowler.com/bliki/AnemicDomainModel.html. The common reasons I've seen why we have anemic model are: Most cases are simple db-to-web, ...2007-03-04 12:44:00 · 142 阅读 · 0 评论 -
OOP
OCP: Open for extension, close for modification(black box) SRP: Single responsibility Principle(do one thing, and do one thing well). DIP: Dependency Inversion Principle(depend on abstraction, not o...原创 2007-04-13 00:53:00 · 87 阅读 · 0 评论