Changing var names
victorsubervi at gmail.com
Fri Jan 15 21:07:06 CET 2010
On Fri, Jan 15, 2010 at 3:45 PM, Phlip <phlip2005 at 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"
> 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...)
> >> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list