On 01/03/2014 00:03, Marko Rauhamaa wrote:

Dict dispatch tables are elegant, attractive and efficient if you are
using pre-existing functions or functions you can create using lambda:

I beg to differ. The dict dispatch tables are very hard to read. The
fully blown-out if-else chain beats it in elegance hands down.


I think you're talking nonsense. I've been happily using dict dispatch tables for years and, like Steven and presumably many others, find them dead easy to read. Perhaps you should invest in a better optician and/or glasses?

--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to