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