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

Re: svn commit: rev 544 - trunk/subversion/bindings/java/jni/org/tigris/subversion/lib

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-11-29 23:10:36 CET

On Wed, Nov 28, 2001 at 10:28:22AM -0800, Daniel Rall wrote:
> Alexander Mueller <alex@littleblue.de> writes:
>
> > there are several ways to implement data access with java. Hm. But
> > maybe you are right. I implemented the class the way I did to
> > improve performance. The variables do have the "final" statement, so
> > they cant be changed after creation of an instance.
>
> Hi Alex. I noticed the final keyword, but think accessor methods are
> really the way to go, as they are more Java-esque. Developers who
> work with Java regularly will be more familiar with an API which uses
> accessors, and also more likely to extend and integrate such an API
> (and the initial net effect will supply equivalent data access
> equivalent to the public final member variables).

The accessors would be needless overhead. These are more like structures,
rather than objects that would be extended.

IMO, keep 'em as attributes.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
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.