Just remember that Python is sexy

Greg Ewing greg at cosc.canterbury.ac.nz
Fri May 27 00:20:55 EDT 2005


Duncan Booth wrote:

> The name index implies it returns something you can use as an index to get 
> at the substring.

But that's no fun -- it doesn't involve sex!

How about this: "index" and "sex" both end with "ex", which
is short for "exception".

(Of course, you could get straight from "index" to "exception"
that way too, but then there wouldn't be any excuse for
mentioning sex. :-)

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list