From: Ron Jeffries Date: 2002-02-24T23:22:24+09:00 Subject: Re: duplicate method name On 24 Feb 2002 07:21:12 GMT, s@xss.de (Stefan Schmiedl) wrote: > >this is not a defect, it is a feature. Inside one file, it's not much of a feature in my opinion. > >you could do the LaTeX thingy (\newcommand vs. \def) >and define a method which checks if the current class >already has the method and then issue a warning or whatever. I'm guessing that there's no way to replace or override def because it isn't a method. I could hook the method definition, that would perhaps work for what I have in mind ... Thanks for the ideas ... Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com I'm giving the best advice I have. You get to decide whether it's true for you.