From: dblack@... Date: 2002-09-16T23:42:54+09:00 Subject: Re: private variables Hi -- On Mon, 16 Sep 2002, ts wrote: > >>>>> "d" == dblack writes: > > d> Personally I'd be sad to see any more double punctuation variable > d> semantics in Ruby (@@cvar being the only one I can think of). It's > d> true that declaring things private (rather than tagging them as > d> private with an underscore) means that one can't see privacy at a > d> glance. But that's already true of private methods -- i.e., their > d> names are not required to be different from names of other methods. > > In this case where do you store class local variables (i.e. what you call > private variables :-)) ? Whoops, I have reintroduced deprecated terminology into the discussion :-) And I probably can't answer your question very cogently. But I guess I'd store them wherever they'd be stored if they were named @_var, only I wouldn't name them @_var. In the certainty that this can't be a satisfactory answer, back to you... :-) David -- David Alan Black | Register for RubyConf 2002! home: dblack@candle.superlink.net | November 1-3 work: blackdav@shu.edu | Seattle, WA, USA Web: http://pirate.shu.edu/~blackdav | http://www.rubyconf.com