- From: Rodrigo Garcia Acevedo <rodrigo.garcia@fundacionctic.org>
- Date: Wed, 13 Jun 2007 18:42:16 +0200
- To: <public-ddwg@w3.org>
Received on Wednesday, 13 June 2007 16:42:57 UTC
I agree too, updating the API means that we could extend the enum entries and I also see the enum choice as more 'elegant'. But I also think that the use of an unsigned short code could be easier to handle and that it is less likely that a legacy app could break if a new code is added (probably it would fall in the default section of a switch). IDL enums don't have an associated ordinal so its representation changes in the different language mappings (some languages could map each entry to a class, others directly to a typed enum, an int...) so maybe its handling would be more difficult. Anyway, I also wonder whether they would have done the same. The restriction about the use of exception inheritance is unfortunate. Regards, Rodrigo.
Received on Wednesday, 13 June 2007 16:42:57 UTC