ITeye博客

DCI in Real World

oojdon · 2011-02-14 12:22 · 面向对象 · 编程语言 · Markdown

逃出面向类编程的魔爪,重新思考对象

 

This is a refreshing approach to OOP. The Domain Context Interaction pattern allowed us to restore interesting properties of real OOP approach yet not sacrificing modularity and separation of concerns. This simple view of “an object in several contexts” helps quite much in thinking explicitly about and understanding context boundaries. Note that an object(instance) is not defined by a single class but each instance curries the necessary context. This is essential to OOP which is NOT COP (for Class Oriented Programming ;) )

 

 

http://sadekdrobi.com/2009/06/10/dci-in-real-world-domain-context-and-interaction-with-scala-in-a-real-world-project/

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。