/ Hathaway Weblog / Must... resist... Eclipse...!

Shane :: Python :: March 23, 2005 # Must... resist... Eclipse...!

There is a competition between Jython and Eclipse. Technically, the only thing they have in common is Java, but when I want to write some code quickly and Java is a requirement, I currently have two reasonable choices: full-blown Eclipse with refactoring, code completion, etc., or Jython.

The path of least resistance is Java on Eclipse. Eclipse makes it easy to generate Java fast. Static type checking makes me feel good: the code may not compile at first, but when the static type checks pass, I feel like I've accomplished something. Renaming things, even entire packages, is effortless.

With Jython, I have to refer often to documentation because code completion is not available. I have to manage import statements myself. I can't easily rename things. I have to write unit tests. However, I produce shorter, cleaner code in Jython.

So Eclipse wins, right? Not so fast! I expect other coders to read my code far more often than they modify it. Therefore, I prefer Jython on faith that readability is more important than generating code quickly.

Nevertheless, every time I've wanted to use Jython, I've fallen back to Eclipse. It's just too easy. I can't figure out whether the benefits of Jython really outweigh Eclipse. I've tried the Jython/Python Eclipse plug-ins, but they don't support the most important features that make Eclipse so easy to use.

On the other hand, when Java is not a requirement, CPython wins easily. The number of things I have to remember is significantly smaller when I'm writing CPython, so code completion just isn't needed. It's like writing prose. The seamless interaction with the command line makes unit tests, particularly doctests, fun and easy.

No further comments may be added.

Isaiah 1:18 (Click below to fill in the blanks.)
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto