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

[REBOL] Re: Private words in objects?

From: greggirwin:mindspring at: 5-Jul-2006 12:09

C> -Use specific names for private members. For example: C> my-obj: context [ C> p_a: 10 C> p_b: 20 C> c: 30 C> d: 40 C> .... C> etc. C> ] I've done similar things, using a leading underscore to indicate private variables. This technique can be applied in many ways, and for many reasons, in REBOL. As an example, I use a naming convention for parse rules and their associated variables. -- Gregg