CSC/ECE 517 Fall 2010/ch7 7d EC: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:
<br>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.  Code is more accessible and understandable.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.  Code is more accessible and understandable.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.  Use of common vocabulary to help collaboration among developers.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.  Use of common vocabulary to help collaboration among developers.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.  Helps people understand the system more quickly.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.  Helps people understand the system more quickly.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.  Easier to modify system.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.  Easier to modify system.<br>
</p>
 
<h2>GRASP</h2>
<p>
<b>GRASP</b> stands for General Responsibility Assignment Software Patterns and consists of several design patterns for assigning responsibility and relationships between classes and objects in object-oriented design.
<br>
<br>
Some of the patterns in GRASP include Information Expert, Creator, Controller, Low Coupling, High Cohesion, Polymorphism, Pure Fabrication, Indirection, and Protected Variations [2].
<br>
<br>
In this article, we will focus on the Indirection Pattern.
</p>
</p>

Revision as of 02:30, 23 November 2010

Introduction to Design Patterns

A design pattern is a type of technique that developers use to create good software design. There are many design patterns available, and they share common benefits. The benefits of design patterns include [1] :

     1. Code is more accessible and understandable.
     2. Use of common vocabulary to help collaboration among developers.
     3. Helps people understand the system more quickly.
     4. Easier to modify system.

GRASP

GRASP stands for General Responsibility Assignment Software Patterns and consists of several design patterns for assigning responsibility and relationships between classes and objects in object-oriented design.

Some of the patterns in GRASP include Information Expert, Creator, Controller, Low Coupling, High Cohesion, Polymorphism, Pure Fabrication, Indirection, and Protected Variations [2].

In this article, we will focus on the Indirection Pattern.