On 12 mar 2011, at 16:30, Massimo Santini wrote: > For the exact same reason why all modern languages have enumerative types: > because it's better if the interpreter (or compiler) can syntactically > control the range of possible values. > > Is this convincing?
Hmm, sort of-- I agree it's a little dangerous to make comparisons that you might accidentally flunk to never ever hold True. IDK; I've never come across a good usecase really. Mostly I test variables - give me a real usecase and I'll tell you how I would've done it. -L -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
