Steven D'Aprano <[EMAIL PROTECTED]> writes:

> How am I being silly? Do you not believe that people write case blocks
> with fifty tests? Okay, how about twenty? Ten? Eight?

You should check out generic functions in CLOS.  Rather than writing a
ridiculously long case block, you can use EQL specialized functions.
It's a great way to do dispatch.

-- 
This post uses 100% post consumer electrons and 100% virgin photons.

At 2.6 miles per minute, you don't really have time to get bored.
   --- Pete Roehling on rec.motorcycles

I bump into a lot of veteran riders in my travels.
  --- David Hough: Proficient Motorcycling
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to