From: Dmitri Colebatch Date: 2003-01-10T11:38:43+09:00 Subject: Re: Adding hooks to TestUnit > > hehe... "thankfully" (o: I suppose this is one of the > > differences between a static and a dynamic language (the > > reason I'm playing with ruby is to explore the > > benefits/tradeoffs of static vs dynamic languages).. > > I'd say that this is one of the key advantages of dynamic languages over > static ones, but I'm sure there others who would disagree with me :-) I can certainly see the advantages of wanting to change a method definition at runtime, but I cant see the advantage of not having the capacity to ensure that a particular piece of code is run.... > OK, I see what you're getting at, but I don't think you'd want to do > that (not that you could anyway, because there is no final) because then > those using MyTestModule have to learn a new syntax for setup (i.e. > doSetup) that's different than the already-familiar Test::Unit syntax. yeah, I see what you're saying, but I personally wouldn't be worried about it. anyway - thanks for th elesson (o: cheers dim