Re: 3 comments for the 0720 DOM spec...

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 Lapeyre

Received on Sunday, 12 June 2005 05:39:54 UTC