`
oojdon
  • 浏览: 39549 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

DCI in Real World

阅读更多

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

 

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/

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics