1 or 1/0 doesn't raise an exception
Mel
mwilson at the-wire.com
Sun Dec 14 11:52:27 EST 2008
Daniel Fetchinson wrote:
[ ... ]
> Let me just point out that unsuspecting people (like me) might rely on
> the whole expression to be evaluated and rely on exceptions being
> raised if needed.
There are a lot of threads on comp.lang.python that mention beginners'
possible reactions to language features, so I'll mention this paper
relating to teaching programming:
<http://www.cs.mdx.ac.uk/research/PhDArea/saeed/>.
The early draft which I've read,
<http://www.cs.mdx.ac.uk/research/PhDArea/saeed/paper1.pdf>,
references quite a lot of literature on what new programmers do, discusses a
new test for programming aptitude.
Mel.
More information about the Python-list
mailing list