Skip to main content

The role of Jython

Posted by daniel on May 4, 2004 at 10:14 AM PDT

"Whether or not you like dynamic languages, you better warm up to 'em because they're not going away any time soon."

Tim Bray writes "right now I'm 100% take-it-to-the-bank bet-my-career sure of this: dynamic languages (what we used to call 'scripting languages') are already playing a large role in Enterprise Software Development; and their role is going to be growing in size, at least for the next little while. Jython represents a chance to have that growth happen inside the Java technology environment, rather than outside." In
Also in Java Today
, we feature Tim's blog entry Jython . Follow his links to other writings on the topic or consider his assertion that "it's faster to write software in dynamic languages, and the (real) benefits you get from an anally type-sensitive compiler can be had more cheaply with modern testing disciplines."

Bray says that "the Java community needs to get over the notion that dynamic languages are in any sense counter to solid modern software-engineering principles. This is happening; along with Jython, we have Groovy, a dynamic language designed from the ground up to be Java friendly. Groovy looks way cool to me; all it lacks, compared to Python, is all those years of refinement and refactoring, and the massive community, and the immense inventory of libraries pre-written do almost everything. Actually, this is less of a disadvantage than you might think, since Groovy by definition can get at any class that Java code can. But then, so can Jython."

Also featured today, the Pragmatic Programmers, Andy Hunt and Dave Thomas, have distilled their advice down to a single sentence: Keep it DRY, Keep it Shy, and Tell the Other Guy.. You'll find a link to a pdf of an article they wrote where they describe the principles of not repeating yourself, not revealing too much, and apathy toward the details of how a method request is actually handled.

One of the big stumbling points to those new to Java is the CLASSPATH.
In today's Weblogs , Malcolm Davis writes about NoSuchMethodError avoidance in Clear the CLASSPATH.

The discussion of open sourcing Java continues in Joshua Marinacci's latest blog entry An Analysis of Open Sourcing Java . Marinacci's conclusion is that open sourcing Java is a bad idea, but he invites (and has received) feedback to his post.

In Forums today, John Mitchell asks about Featuritis saying "How can we deal with the various biases and pressures that insidiously lead to featuritis?" Rick Carson answers Oh, that's easy. Carson writes "The Master of Design Fu can sit there on the mountain freezing his butt off for a couple of days, meditating on the Dao of the Code... then he comes down off the mountain, changes three lines of code, and viola! Its done. Whereas those who have not Mastered Design Fu spend weeks if not months writing tens of thousands of lines of code, and then refactoring them, and refactoring again. To solve the same problem, but in a worse and less flexible way. Here's the problem: the Zen Master just looks like a lazy SOB, whereas the XP Ninjas (in the old days we called them Cowboys) are running around loudly going "Hyah!" at anything that moves, and so it looks like they're doing a lot more work.."

The discussion on interviewing continues with a focus on candidate comfort. PSummers8 writes " Unless you are evaluating how someone reacts under duress, making a candidate comfortable will reveal the most about their skills and their personality. By making them more nervous than they already are, you might not be able to get as much out of them and you certainly won't get a good picture of who they actually are as a person."

In today's Projects and Communities , in Cross Gender Role-play play Jeff Kesselman writes "As someone who plays both male and female characters today I often find myself called on to answer the question. 'why would a guy want to play a girl?'"

The Java Web Services and XML community highlights the URL rewrite filter project "delivers a J2EE Servlet Filter which allows you to rewrite URLs before they get to your code."

In today's News Headlines

Registered users can submit news items for the href=""> News Page using
our news submission
. All submissions go through an editorial review by news director
Steve Mallet before being posted to the site. You can also subscribe to
News RSS feed

Current and upcoming
Java Events

Registered users can submit event listings for the href=""> Events Page using our href=""> events submission
form. All submissions go through an editorial review before being
posted to the site.

Archives and Subscriptions: This blog is delivered weekdays as the
Today RSS feed
. All members can subscribe to the email
updates for the site at the href="">
java-net Mailing Lists page. You must be logged in to subscribe
the javanet_Daily and javanet_Weekly lists. Also, once this page
is no longer featured as the front page of
it will be archived along with other past issues in the href=""> Archive.