Foot in mouth disease

Simon Brunning SBrunning at trisystems.co.uk
Mon Nov 4 10:52:04 EST 2002


> From:	Simon Brunning [SMTP:SBrunning at trisystems.co.uk]
> > >Hmm. Well, Java is my day job, and I've been using Eclipse for a year
> > >or so.  For me, the refactorings work just fine. Now, I've not used
> > >EMACS, so I can't do a comparison, but Eclipse's refactorings are a
> > >*whole* lot better that doing refactoring with a 'dumb' text editor.
> > 
> > Perfect.  So which is easier: Python or Java?
>  
> Python.
> 
> I *like* questions with one word answers.
 
OK, OK, I'll explain a little. Eclipse's refactorings make life easier when
you are doing object and method renames, extracting methods or expressions,
that sort of thing. But these aren't often that much work anyway.

Changing an object's type, ah, now that's a different matter. It's usually
not just the declaration which needs to change, you have arguments to change
all over the place, casts to add, it just seems to go on forever. Eclipse
doesn't help here. (Does EMACS?) With Python, of course, you change your
object instantiation, and re-run your unit tests. If the signatures of the
old and new types match, you are good to go.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list