[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: PUBLIC POLL: final static VARIABLE

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-30 18:24:34 CET

+1 direct variable access.

Even though I'm only 28 years old, I feel like an ancient curmudgeon.
I learned C++ ten years ago, and in those days we thought of instance
objects as "structures with methods". But a class instance is still a
*structure*. Why can't you look at the structure's fields? Why do we
need to create the extra distance through accessor methods? I mean,
if you don't want your fields mucked with, that's why we have
'private' variables in a class. Accessors are for returning
information about private variables, or so I thought.

But maybe Ruby and Java have done away with all that. I'm not up on
the latest philosophies anymore. It seems that the extra formality
would just get in the way.

All I know is: in my day, we used class variables directly... and we
LIKED it! ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:50 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.