Home  /  Questions  /  Question

88   96.5
Mar 18, 2010

Why are the Patterns Uml diagrams different?

Are the UML diagrams for the Design Patterns the same?

For example, the UML diagram for the Iterator Pattern is different from the one at www.dofactory.com.  Similarly for the Command Pattern...


Best Regards.

380   99.9
Mar 19, 2010
DoFactory uses standard UML diagramming to represent the pattern whereas Juditth's is C# specific. However, both do essentially the same thing.

The latter uses constructs specific to .NET/C#. In fact, .NET already implements the Iterator pattern as per the UML implementation.