"Thomas Dybdahl Ahle" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTED]
> Is it possible to make python warn me about those at "compile time"?
No. The compiler only "knows" about it once the broken code is run. I use
the standard module "unittest" to run through every single bit
Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes:
> I tend to make a lot of mistakes of misspelled variable names.
You would greatly benefit from using tools like 'pyflakes', 'pylint',
and a unit test suite for your code. They're very good for finding
such simple bugs in your code.
> Is it possibl
I tend to make a lot of mistakes of misspelled variable names.
Is it possible to make python warn me about those at "compile time"?
Very few times I use dynamic variable initialization. I can live with
getting a warning for those as well.
--
Best Regards,
Med Venlig Hilsen,
Thomas
--
http://m