Y
yb
Hi,
I just started reading design patterns and looking at the Lexi example.
I'm very new to this so please bear with me.
I understand the Decorator pattern, but a bit confused by the Maze
example used for creational patterns. Is this example a bit contrived?
I would have thought a decorator pattern would make more sense instead
of deriving mazes with different attributes.
Anyway, just seemed to me the example is not good practice but just
made to illustrate the point on how to apply creational patterns??
hope my question makes sense.
I just started reading design patterns and looking at the Lexi example.
I'm very new to this so please bear with me.
I understand the Decorator pattern, but a bit confused by the Maze
example used for creational patterns. Is this example a bit contrived?
I would have thought a decorator pattern would make more sense instead
of deriving mazes with different attributes.
Anyway, just seemed to me the example is not good practice but just
made to illustrate the point on how to apply creational patterns??
hope my question makes sense.