Adding optional 'explicit' declaration?

Steve Holden sholden at holdenweb.com
Fri Apr 27 12:34:26 EDT 2001


"Clarence Gardner" <clarence at netlojix.com> wrote in message
news:988385119.727711501 at news.silcom.com...
>
> >>>> The transparent creation of variables in Python is really nice, but
> >>>> there are times when it become a bug source, essentially because of
> >>>> misstyping of variable names.
> >>>
> >>>Does anyone have any numbers on this? People make this claim all the
> >>>time, but in practice my typos are always caught at compile time or
> >>>immediate testing already. I believe bugs like this are really rare.
>
> But even if typos (which cause NameErrors particularly) are found the
> first time you run the program, which is often the case, if the program
runs
> for an hour before hitting the error (which happened to me the other day),
> that's still an annoyance.
>
That must be one helluva unit if its testing takes an hour!

small-is-beautifully y'rs  - StEVE





More information about the Python-list mailing list