On Fri, Jan 04, 2002 at 12:00:51PM -0500, Steve Sapovits wrote: > > [EMAIL PROTECTED] wrote: > > > I think that inheritance is far OVER used in many OO systems. > > I agree on that last point.
Me too :) > Your name space point is a valid one. DBI solves this by tying the hash > and only allowing new keys to be added if prefixed with 'private_'. And I'll be tightening up the docs for that to make specific recomendations for subclasses to use 'private_<classname>_*'. Tim. > With my own classes I take a somewhat similar approach. The hash is tied > and keys are enumerated at the class level. When packages are compiled, > the is-a tree is examined for key conflicts (sort of anyway ...). So there > are ways, although I admit setting all that up was some work. Fun work > though. 8-) > > I like the AUTOLOAD idea. I'll add that to my list of approaches. > > -- > Steve Sapovits > Global Sports Interactive > http://www.globalsports.com > Work Email: [EMAIL PROTECTED] > Home Email: [EMAIL PROTECTED] > Work Phone: 610-491-7087 > Cell Phone: 610-574-7706 >
