Long Live Python!

Dirck Blaskey dirck at pacbell.net
Fri Jul 13 14:48:37 EDT 2001


Dennis Roark <denro at earthlink.net> wrote in message news:<hevsktcrnpckttnkgi1arcue5kjjsbrrb5 at 4ax.com>...
> James_Althoff at i2.com wrote:
> >What is it about Python that would, in your experience, make it only "good
> >for short programs <100 lines".
> 
> Lack of type safety; lack of forcing variable names to be
> declared before use.  (In a long program, how hard it is to
> find a bug that is simply the misspelling of a variable!)
> 
> I really like Python, but for at least the reasons above, I
> can't see it for long programs.

With Python, you don't know if your code is going to work until
it's actually been tested.  Hmm...  :)

I don't think type safety makes that go away,
though it does help to catch some bugs at compile time.

With Python, at least there's no 'illusion of safety'
for code that hasn't been tested.
---------------------------------------------------
    if it hasn't been built, it doesn't compile,
    if it hasn't been executed, it doesn't run,
    if it hasn't been tested, it doesn't work,
    if it hasn't been used, it's not correct,
and if it hasn't been checked-in, it doesn't exist.
---------------------------------------------------



More information about the Python-list mailing list