Re: Local / lazy referencing

Adam Megacz <[email protected]> 09 Oct 2003 01:38:42 -0700
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT
Message-ID <[email protected]>
Er, how else are you going to access resources?

  - a

Charles Goodwin <[email protected]> writes:
> Adam Megacz wrote:
> > The problem with this is that some other box can set
> > 
> >   yourbox.org = blah;
> > 
> > Now when you run code on your box that does stuff like this:
> > 
> >   xwt.apply(org.xwt.foo.bar);
> > 
> > It's going to break.
> 
> Well, what if you assert that it is illegal to pass a property directly 
> to xwt.apply.  Only variables (declared with var) or strings.
> 
> Wouldn't that solve the problem?
> 
> - Charlie
> 
> 
> _______________________________________________
> widgets mailing list
> [email protected]
> http://lists.xwt.org/listinfo/widgets
> 

-- 
"Education is not filling a bucket but lighting a fire." -- WB Yeats