[Python-Dev] deprecating string module?

Steven Lott s_lott@yahoo.com
Wed, 29 May 2002 05:27:45 -0700 (PDT)


I find the big reason for deprecating string has to be
the evolution toward methods and away from modules. 

e.g.:
> 
> String method's are really nice! (By the way: I miss a
> length() method)

Deprecation of string is not confusing for new users of Python,
they will start with string methods, having no use for the
module.  It is not confusing for experienced users, they know
what deprecation is, and can probably work through the rationale
for moving away from the old module technique and toward the new
class/type technique.

Somewhere in the middle there might be some people who figured
the string module out, but never got a grip on string methods. 
I don't think this is the majority.

The true majority are the "yet to start" users, for whom the
String class will be the only thing they ever use; irrespective
of the deprecation state of string.


=====
--
S. Lott, CCP :-{)
S_LOTT@YAHOO.COM
http://www.mindspring.com/~slott1
Buccaneer #468: KaDiMa

Macintosh user: drinking upstream from the herd.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com