[nem-en] [RFC] qualified variant options

Michal Moskal malekith at pld-linux.org
Fri Sep 24 10:46:31 CEST 2004


Hi,

We would like to request yours comments on the following issue.
Now variant options are in the same scope as the enclosing variant,
i.e.:

variant A { | B | C }

defines A, B and C. We consider the change, so it would define A, A.B
and A.C.

+ it would unify variants with enums more
+ it would be possible to drop E_, T_ and similar prefixes, vs longer
and more readable type names
- it will need extra keystrokes
- it breaks compatibility

Anyway we would like to know what people think about it?

This change is going to be in 0.3 (December?), if it's going to be
finialized at all.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?



More information about the devel-en mailing list