CSC/ECE 517 Fall 2010/ch3 3h PW: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=The Strategy pattern in static and dynamic languages=


=The Strategy pattern in static and dynamic languages=
==What is the Strategy Pattern==
 
==How to Implement in a Static Language==
===Example===
Java Code
==How to Implement in a Dynamic Language==


=What is the Strategy Pattern=
===Examples===
Ruby code

Revision as of 22:03, 4 October 2010

The Strategy pattern in static and dynamic languages

What is the Strategy Pattern

How to Implement in a Static Language

Example

Java Code

How to Implement in a Dynamic Language

Examples

Ruby code