[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01948] Re: Class variables

From: Dave Thomas <Dave@...>
Date: 2000-03-17 04:36:52 UTC
List: ruby-talk #1948
matz@netlab.co.jp (Yukihiro Matsumoto) writes:

> In message "[ruby-talk:01946] Re: Class variables"
>     on 00/03/16, Dave Thomas <Dave@thomases.com> writes:
> 
> |Will there be any new methods to support them:
> |
> |  Kernel#shared_variables
> |  Kernel#remove_shared_variable
> |
> |and the like?
> 
> There should be for consistency.

;-)

> 
> |Will they be called shared variables or class variables?
> 
> I've not decided yet.  What do you think guys?

I'd vote for 'class variables' -- the more 'standard' our terminology,
the less confusing it is for people new to the language. People know
what a class variable is, whereas 'shared variable' could mean many
things.

We can always explain the module stuff as a kind of cut-down class.


Dave

In This Thread