Content deleted Content added
Removed the redundant points in clustered and provided the detailed description of each content style. Removed primary references by adding secondary references in a detailed description. |
Answered the question asked on talk page and added links to existing wiki pages for complex words. |
||
Line 2:
'''Responsibility-driven design''' is a design technique in [[object-oriented programming]]. It was proposed by [[Rebecca Wirfs-Brock]] and Brian Wilkerson, who defined it as follows:
<blockquote>
Responsibility-driven design is inspired by the
* What actions is this object responsible for?
* What information does this object share?
</blockquote>
Responsibility-driven design is in direct contrast with data-driven design, which promotes defining the behavior of a class along the data that it holds.
To further the encapsulation of the server, Wirfs-Brock and Wilkerson call for language features that limit outside influence to the behavior of a class. They demand that the visibility of members and functions should be finely grained, such as in [[Eiffel (programming language)|Eiffel]] programming language. Even finer control of the visibility of even classes is available in the [[Newspeak (programming language)|Newspeak]] programming language.
==Building blocks==
|