[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] enumerations?



It often means numbering, but doesn't always. enumerate() in Python does mean numbering, however :)

On Jul 20, 2005, at 6:49 PM, andrew baker wrote:

enumeration means numbering, really.

On 7/20/05, Brian Fisher <brian_fisher@xxxxxxx> wrote:

The number association isn't really required - it's just an implementation
detail of "enum"'s in C/C++ (the specification for the language says as much).



People talk about enumations a fair bit cause they are used to using "enum"'s
in C/C++, but the concept of an enumeration just means to have a complete list
of all the things that are part of a group (a lot like what Bob was quoting),
and there's tons of ways to represent that.


the verb enumeration (from websters) means: To count off or name one by one;
list


... and you don't need to know any of this to use any pygame at all

------ Original Message ------

An enumeration is a series of things, like names, that have a number
explicitly associated to them.  An example might be alphabetical
order, where A = 1, B = 2, C = 3, etc.








--
Andrew Ulysses Baker
"failrate"