Map
Index
Random
Help
th

Note: an enum function is a case statement; guarantees a set of functions by object

topics > all references > references c-d > QuoteRef: cbb_2000 , p. 2000-11-17



Topic:
enumerated data types
Topic:
case statement

Quotation

An enum guarantees a set of functions by object just as an interface guarantees a set of functions by type. ... [p. 2000-11-30] Working on enumerated functions. ... I like this use of enumeration. It is like subtyping. A call to an enumerated function can assume that an object has a particular subtype. Can limit the fields and make this a property of the object. ... [p. 2001-01-01] An enum function is really a case statement and that is all.   Google-1   Google-2

personal notes


Related Topics up

Topic: enumerated data types (17 items)
Topic: case statement (25 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.