From: Kent Dahl Date: 2002-08-10T20:26:21+09:00 Subject: Re: ambiguity between local variable assignment and writter method Tom Sawyer wrote: > no, if i were creating ruby now, i would very much consider doing that. > certainly it adds an extra char to all local vars, but it makes things > quite distinct. Isn't this a step _backwards_ to "feeding compilers" instead of solving problems? > do you consider @, @@, and $ junk? 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 @. So, while not quite junk, they are ugly, nececarry implementation details that need to be hidden as soon as possible :-) > so you think writer methods are the problem? what would they be replaced > with? Nothing stopping you from making traditional setter and getters. Writers are _external_ interface syntax sugar, IMHO. -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)