[Python-Dev] PEP 246, redux (original) (raw)

Michael Chermside mcherm at mcherm.com
Tue Jan 11 20:26:26 CET 2005


David Ascher writes:

Terminology point: I know that LiskovViolation is technically correct, but I'd really prefer it if exception names (which are sometimes all users get to see) were more informative for people w/o deep technical background. Would that be possible?

I don't see how. Googling on Liskov immediately brings up clear and understandable descriptions of the principle that's being violated. I can't imagine summarizing the issue more concisely than that! What would you suggest? Including better explanations in the documentation is a must, but "LiskovViolation" in the exception name seems unbeatably clear and concise.

-- Michael Chermside



More information about the Python-Dev mailing list