Jun 23 2004

Jython Rocks

Being a Python programmer for the past 3 and half years, today was the first time when I tried Jython, an implementation of Python in Java, which runs inside a JVM. I am porting one part of the project in Java, and I would like to examine some values interactively instead of going through the compile-execute-debug cycle. So I gave Jython a try…

And it surely rocks!!!

To test a class that I’ve written in Java, I started Jython in interactive mode, imported the class I want using Python style import’s, and then just execute it! All done in comfortable interactive shell that has made Python suck a great learning language. It is also very easy to wrap up unit testing scripts. Now I just need to find some other excuses for not writing Java testing code…

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>