That was in a message from 14 Aug 1998 >re point 1: Not all languages support enumerations per se. (Java's one >obvious example that doesn't, and the C implementation is not much more >than a self-calculating set of #defines.) I agree that in languages which >do have this feature, and especially in those which perform typechecking on >enums, providing the "named constants" in that form would be appropriate. >But I'm not sure how one formally states language-specific alternatives in >this sort of spec. Why do you say that Java does not support enumerations? Wouldn't a simple interface with the constants defined inside be enough? Best Regards, Alejandro LapeyreReceived on Sunday, 12 June 2005 05:39:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:57 GMT