Skip to main content

Timeline for Memento with optional state?

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Jun 24, 2013 at 14:45 vote accept Korey Hinton
Jun 24, 2013 at 14:39 answer added Korey Hinton timeline score: 0
Jun 21, 2013 at 21:09 history edited Korey Hinton CC BY-SA 3.0
moved clarification to top by the question
Jun 21, 2013 at 21:08 comment added Korey Hinton Thanks for the clarification, apparently I wasn't implementing Memento correctly.
Jun 21, 2013 at 21:03 history edited Korey Hinton CC BY-SA 3.0
clarified the real design pattern
Jun 21, 2013 at 20:20 comment added Steven Evers As pdr said, this isn't memento. Right now it's one of the weaker implementations of the State pattern (IMO only; I prefer variations where states manage their transitions themselves). However, I think that what you're trying to get to is a Chain of Responsibility (en.wikipedia.org/wiki/Chain-of-responsibility_pattern).
Jun 21, 2013 at 17:34 answer added Amy Blankenship timeline score: 1
Jun 21, 2013 at 17:01 comment added pdr this is not really a Memento pattern at all, it's a State pattern. Which is probably why you're overthinking it.
Jun 21, 2013 at 16:50 history asked Korey Hinton CC BY-SA 3.0