From: mathew
Date: 2005-07-23T15:05:57+09:00
Subject: Re: Ruby/Rails as a starter language?
Adam P. Jenkins wrote:
> I agree that the use of the word static to mean "class level" is
> unfortunate. The reason for its use shows Java's borrowing of syntax
> from C/C++. I'm not sure why you keep insisting on saying they're
> global though.
They're global in that they are visible to every other piece of code.
> Static variables and methods in Java are most definitely
> within the namespace of a particular class, and static methods have the
> same access to private members of the class they belong to as non-static
> members.
Putting something in a hierarchical namespace doesn't stop it from being
global; namespace is not the same as scope and visibility, though it's
often used as a cheap substitute...
mathew
--
WE HAVE TACOS