CSC/ECE 517 Fall 2007/wiki3 3 ab: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 4: Line 4:
==Introduction==
==Introduction==
===Separation of Responsibility===
===Separation of Responsibility===
In Object-Oriented programming, each individual object should have as few responsibilities as possible, ideally one responsibility per object. That is to say,
In Object-Oriented Design (OOD), each individual object should have as few responsibilities as possible, ideally one responsibility per object. That is to say,


===Principle of Separation of Responsibility===
===Principle of Separation of Responsibility===

Revision as of 01:47, 17 November 2007

Topic

Take the principle of Separation of Responsibility and catalog the information on it available on the Web. Find good descriptions and good, concise, understandable examples. Tell which you consider the best to present to a class.

Introduction

Separation of Responsibility

In Object-Oriented Design (OOD), each individual object should have as few responsibilities as possible, ideally one responsibility per object. That is to say,

Principle of Separation of Responsibility

Reference

  1. Elegance and classes
  2. [1]
  3. [2]
  4. [3]
  5. Java by Experience
  6. OO Programming By Example
  7. Benefits of the Three-Tiered Architecture