On Sun, 2004-01-11 at 20:46, peter royal wrote:

> > So if implement the Map interface (or expose it) then you run the risk
> > of another class just calling get() instead of getVar() and bypassing 
> > my
> > strict variable check.
> 
> Unless the new exception was a subclass of RuntimeException :)

Yep, that's true. Well, I can be persuaded either way. To extend Map or
just to use it. My gut instinct still says the composition is better.

-
Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to