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

Re: javahl Type Safety issue.

From: McClain Looney <mlooney_at_gmail.com>
Date: 2004-09-27 23:14:23 CEST

Unless there is some compelling failure, danger or performance problem
being caused by this not adhering to the best possible design pattern, this
should not be changed. There are numerous projects depending on this
library, changing things for the sake of "tightness" may cause
unnecessary pain.

----- Original Message -----
From: Robert Simmons <kraythe@arcor.de>
Date: Mon, 27 Sep 2004 03:34:38 +0200
Subject: javahl Type Safety issue.
To: dev@subversion.tigris.org

 

 

Greetings.

  

I noticed that there are a number of enumerations in the javahl Java
code. For example, look at NodeKind. I wonder if these could be
converted to typesafe enum pattern [1][2] It shouldn't be that big of
a deal I would think and would make the interface much tighter and
typesafe.

  

References:

  

[1] Bloch, Josh (2001), "Effective Java Programming Language Guide",
Page 104, Addison-Wesley, ISBN 0-201-31005-8

[2] Simmons, Robert (2004), "Hardcore Java", Page 168-182, O'Reilly,
ISBN 0-596-00568

  

-- Robert Simmons Jr.

-- Senior Software Architect, Consultant

-- jambit GmbH

 

-- 
McClain Looney
m@loonsoft.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 27 23:14:47 2004

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.