Does Python really follow its philosophy of "Readability counts"?

Luis Zarrabeitia kyrie at uh.cu
Thu Jan 15 08:57:17 EST 2009


Quoting Paul Rubin <"http://phr.cx"@NOSPAM.invalid>:

> Luis Zarrabeitia <kyrie at uh.cu> writes:
> > Wait, do you _really_ believe that _static_ checks could prevent problems
> > arising from _unexpected_ conditions in the _data_?
> 
> The data does not arrive from outer space on a magtape stapled to a
> meteor.  It comes out of another program.  Most of the problems in
> processing it come from mismatches between the processing programs and
> the generation programs.  Static checks would help eliminate those
> mismatches.

No, copy and paste from the original data structures would eliminate those
mismatches. A compiler checking the reimplementation of said data structres,
whatever the language, has no way of knowing if the structure matches.

-- 
Luis Zarrabeitia
Facultad de Matemática y Computación, UH
http://profesores.matcom.uh.cu/~kyrie



More information about the Python-list mailing list