Lies in education [was Re: The "loop and a half"]

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Oct 13 19:58:21 EDT 2017


Steve D'Aprano wrote:
> For example, pressing delete when there is no text to delete should just
> silently do nothing.

That's really just a matter of deciding what should count as
an error and what shouldn't. You've decided that "pressing
Delete when there's nothing to delete does nothing" is a
reasonable thing to include in the specifications of correct
behaviour for the program.

-- 
Greg



More information about the Python-list mailing list