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

javahl Type Safety issue.

From: Robert Simmons <kraythe_at_arcor.de>
Date: 2004-09-27 03:34:38 CEST



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.




[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


-- Robert Simmons Jr.

-- Senior Software Architect, Consultant

-- jambit GmbH
Received on Mon Sep 27 12:15:26 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.