On Fri, Jan 15, 2010 at 3:45 PM, Phlip <phlip2...@gmail.com> wrote: > Adam Tauno Williams wrote: > > This process is called 'refactoring' [a good term to Google], and every >> decent IDE provides some support [if it doesn't, it isn't a "decent" >> IDE] >> > > Way more important than IDE support is developers writing wall-to-wall unit > tests as they write their features, _before_ refactoring them. [If they > don't, they aren't "decent" developers, either!;] > > Don't even call it "refactoring" without test support! > > > Sadly IDEs for Java and .NET are still pretty far ahead of what is >> available for Python. >> > > That is bizarre and inconceivable, given Python's typing is almost as > static as thoses's. > > (Yes yes yes Python does not force you to declare _every_ type. Just _many_ > of them...) > > > http://www.oreillynet.com/onlamp/blog/2008/05/dynamic_languages_vs_editors.html > > > > >> Also, if anyone has any other suggestions they've been holding back, > >> or had mentioned earlier, on how to improve my design > > Write scads of unit tests! >
Should I re-write it in classes before testing units? Right now it's very monolithic. beno
-- http://mail.python.org/mailman/listinfo/python-list