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

[REBOL] Re: [ A world of words ] naming convention, namespace, namespace pollu

From: nitsch-lists::netcologne::de at: 2-Jun-2003 14:04

Marc, why do you need privates? protection against malicious scripts is hard, because functions do not clear their arguments after call.
>> context[ _pri: 123 set 'pri does[_pri]] >> pri
== 123
>> second :pri ; the function-body
== [_pri]
>> get first second :pri ; the word in the body references the hidden '_pri
== 123 for informal privates a convention should do. real protection makes debugging harder. -Volker Marc Meurrens wrote: