From: Justin Johnson Date: 2002-08-12T19:47:40+09:00 Subject: Re: ambiguity between local variable assignment and writter method > Dunno about George, but I consider $ junk and I am very vary of using > @@. Ironically we're arguing about writer methods inside classes, which > also distances us from the @. Personally, I disagree. I do a lot of C++ programming with large systems and one of the first standards we adopted was variable name identification. This is quite a common thing to do. For example, our C++ classes are named similar to Ruby consts, our class data members are appended with '_' . We use setter/getter. And so on. class TestClass { public: void var( uint32_t Var ); uint32_t var() const; private: uint32_t Var_; }; You get the idea. I was surprised and quite happy to find that Ruby adopts variable naming as standard. A good idea enforced. > So, while not quite junk, they are ugly, nececarry implementation > details that need to be hidden as soon as possible :-) By hiding them you'll make large bodies of code less readable and allow people to adopt non-standard solutions to variable naming. This is something I know from experience. -- Justin Johnson