Coding standard: Prefixing variables to indicate datatype

Terry Reedy tjreedy at udel.edu
Mon Jan 20 21:34:01 EST 2003


> I guess I've never asked, and this does really cut to the heart of
it.
> I understand that Python has been OO since the very beginning, so
how
> ever did it wind up with so many of the string-the-class's methods
(and
> a constructor or two) hidden in a module, anyway?

Until 2.2, most immutables (numbers, strings, tuples, in particular)
did not have methods.  TJR






More information about the Python-list mailing list