home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.programming      Programming issues that transcend langua      57,431 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,666 of 57,431   
   Julio Di Egidio to Malcolm McLean   
   Re: Undo / Redo design pattern.   
   04 Apr 22 17:59:05   
   
   From: julio@diegidio.name   
      
   On Monday, 4 April 2022 at 15:46:12 UTC+2, Malcolm McLean wrote:   
   > On Monday, 4 April 2022 at 14:02:24 UTC+1, ju...@diegidio.name wrote:   
   > >   
   > > In fact, a stack that does not implement access by index just wouldn't cut   
   it.   
   > >   
   > You can only undo the item on top of the stack.   
      
   At that point I had explained exactly how to do it with one stack: indeed you   
   just need a stack pointer and what you can do with that.   
      
   > If you have two stacks, they can be true stacks   
      
   There is no such thing as a "true stack", there is the basic stack from   
   programming course #1 and then there is more.   
      
   Julio   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca