[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 21:52:05 CEST

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

By the way, I seem to have missed your patch for this. did it get eaten ?


McClain Looney
----- 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
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
[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
Received on Tue Sep 28 05:52:05 2004

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