Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Embedded Object and Scope yet again...

From: gjones05:mail:orion at: 11-May-2001 16:03

From: "Ladislav Mecir"
> Hi, > > I feel, that Joel tried to warn us, that the "Poor man's module" is
not as
> reliable as some may need it to be: > > Rebol [] > > make object! [ > protected1: 1 > protected2: 2 > if true [ > unprotected1: 3 > ] > ] > > and he is right, because 'protected1 and 'protected2 will not destroy
their
> global context couterparts, but 'unprotected1 can!
I feel like I'm loosing ground in my understanding of REBOL objects. My whole understanding has been turned upside down in less than 24 hours. Of course, this means that I really didn't understand them at all. It also means that it clearly violates the principle of least surprise --- at least for me. How depressing. --Scott Jones