Changing var names
Phlip
phlip2005 at gmail.com
Fri Jan 15 14:45:15 EST 2010
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!
--
Phlip
More information about the Python-list
mailing list