Hi,
I have a process that lends itself nicely to the state
pattern. However, in my case I have 2 very general concerns regarding its implementation:
a) The number of polymorphic methods I have in the base class is steadily growing, and I'd prefer to keep this interface nice and succinct. Is there any pattern someone could point me to regarding this?
b) I'm concerned that some of the state instances methods will become god-like. Once again is there a pattern I could look to regarding this?
thanks in advance,
Rowan