coding

ron minnich rminnich at lanl.gov
Wed Sep 3 21:46:00 CEST 2003


On Wed, 3 Sep 2003, steven james wrote:

> It seems to me that working out the integer value of an enum is actually
> abuse of the type. The closest one should get to that is ++ or -- to step
> through enumerated objects.

yeah but The Man Himself, Rob Pike, came up with this idea, and Ken and 
Dennis bless it. I figure if anybody can bless such a use of enum, the guy 
who invented the language is probably the one :-)


I'll try to get some Plan 9 excerpts for reference.


ron




More information about the coreboot mailing list