サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 16
fulloo.info
DCI - Data Context Interaction A New Role-Based Paradigm for specifying collaborating objects The essence of object orientation is that networks of collaborating objects work together to achieve a common goal. The common sense of object oriented programming should reflect this essence with code that specifies how the objects collaborate. Our industry has, unfortunately, chosen differently and code
Examples Written in Marvin What is Marvin Marvin is a language with a very C# like syntax that was created with DCI in mind. Below is a list of the examples written in Marvin. Introduction to Marvin Money Transfer - Implements a simple account transfer use case between two account roles This was one of the pioneering DCI examples used to explore the DCI design space. It is based on two main roles
DCI Example: Dijkstra #!/usr/bin/env ruby # Example in Ruby -- Dijkstra's algorithm in DCI # Modified and simplified for a Manhattan geometry with 8 roles # # # # Demonstrates an example where: # # - objects of class Node play several roles simultaneously # (albeit spread across Contexts: a Node can # play the CurrentIntersection in one Context and an Eastern or # Southern Neighbor in another) # -
このページを最初にブックマークしてみませんか?
『FullOO Home Page』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く