[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03919] Re: A question about variable names...

From: "Hal E. Fulton" <hfulton@...>
Date: 2000-07-11 01:01:41 UTC
List: ruby-talk #3919
> So... I'm wondering if allowing a digit as the first character after
> the @ in an instance variable name is a good idea?
> 

My gut reaction is that the @ should be treated as a prefix, and the
character after it should have to be an "initial" character (not a digit).

That's the way I've unconsciously been treating it already. It wouldn't
have occurred to me to use @123 as an attribute name.

Just my $0.02.

Hal



In This Thread