Re: question about enum
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
I suppose, but I wonder how useful it is. From what I've read of the C#
team's rationale for including / not including features within the
language, their philosophy is one of economy: don't include something
unless it's useful.
Declaring an enum type that has the scope of only one method seems like
a dodgy thing to do, at least to me. :) It looks like a whole lot of
set-up for little gain, and that's probably why it was omitted from C#.
.
Relevant Pages
- Re: Where did the prophet really live?
... features were in the spoken language or not. ... Now the point that Macdonald makes is that Sabaic was the prestige ... medieval arab historians had reported inscriptions ... (soc.religion.islam) - Re: Is C99 the final C? (some suggestions)
... I can't think of a single feature in C99 that would come as ... There are a number of features in C99 that I will steer away from if ... > * a library function that allows the retrieval of the size of a memory ... With the restrictions of the C language, I think you are going to find ... (comp.lang.c) - Re: Equality, Assignment and The Emperors New Clothes
... Unfortunately, the features were designed ... the basic features of the language so that they can work together, ... suppose the language designers create a new feature to solve that same ... In R5RS, three pages or used ... (comp.lang.scheme) - Re: OT: compilers, interpreters, and VMs
... by people used to languages that don't have these features. ... a language should absorb each and every feature? ... run-time code generation, anonymous functions, exceptions and so on. ... general-purpose language should not include dynamic code generation. ... (comp.lang.misc) - Re: dynamic vs. static: the age-old debate
... I am not saying that the features themselves are necissarily either ... static implementation of a dynamic language. ... static typing dictates that such programs be rejected at compile time. ... (comp.lang.misc) |
|