From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-14T07:18:05+09:00 Subject: Re: State Pattern Implementation On Tue, 13 May 2003 16:53:11 +0200, Robert Klemme wrote: > > "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im >> Because you don't have an explicit state variable, the state becomes >> implicit. Thus its hard to tell the current state.. >> Just a thought :-) > > The main problem with this is, that you can't store the current state as > Mauricio pointed out. "as Mauricio pointed out"... It was actually me who pointed it out first :-) Compare the id's of these two threads: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/71317 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/71322 Challenges is good :-) -- Simon Strandgaard