On 27-Jun-07, at 6:09 PM, Gavin Kistner wrote:
What do _you_ do when you need a simple, lightweight way to create
some
unique values?
I use simple lower case strings, unless a better solution
occurs to me. In your example, I would might use "good", "sin",
"cos" and "sin".
Having said that, I might well choose to use math.sin and math.cos
for the operation, if those were appropriate. For example,
rather than using an enumeration of "BlendType"'s, I would be
tempted to use the actual blending functions.