OO in Python? ^^

Aahz aahz at pythoncraft.com
Sun Dec 11 15:49:15 CET 2005


In article <dngpv7$u5a$01$1 at news.t-online.com>,
Matthias Kaeppler  <"matthias at finitestate dot org"> wrote:
>
>Another thing which is really bugging me about this whole dynamically 
>typing thing is that it seems very error prone to me:
>
>foo = "some string!"
>
># ...
>
>if (something_fubar):
>    fo = "another string"
>
>Oops, the last 'o' slipped, now we have a different object and the 
>interpreter will happily continue executing the flawed program.

pychecker (or pylint, but I haven't tried that)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Don't listen to schmucks on USENET when making legal decisions.  Hire
yourself a competent schmuck."  --USENET schmuck (aka Robert Kern)



More information about the Python-list mailing list