Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

What is the difference between implementing undo/redo using momento and command pattern.  RSS feed

 
looka dicosta
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
What is moment0 excatly
 
Campbell Ritchie
Marshal
Posts: 55690
163
  • Mark post as helpful
  • send pies
  • Report post to moderator
It is not moment0, but memento.
You will have to look up the patterns.
Since this thread appears similar to your other thread, I shall take the liberty of making everybody continue the discussion here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!