[Python-Dev] Re: string.find() again (was Re: timsort for jython)

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 09 Aug 2002 13:42:10 +1200 (NZST)


Ka-Ping Yee <python-dev@zesty.ca>:

> The question from a teaching perspective is: "Are strings a kind of
> sequence?"

Seems to me they're a kind of... er... um... string.
They're like nothing else on Earth, really.

They do seem to me more like sequences than mappings,
however, if we really have to pick one.

The question is, do we have to pick one, or should
we just regard them as a third kind with its own
special rules?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+