Perl v Java

gnat on 2004-03-29T20:45:42

That's no "Perl proponent", that's ... me! Check out this article. I am the anonymous "Perl proponent" he mentions from the debate. I enjoyed beating up on Java, but not beating up on him--as the article points out, he isn't really a True Believer. He kept agreeing with Rasmus and me, and that made it very difficult to argue with him :-)

And here was me thinking the debate had been a waste of time for everyone. It can't have been such a waste if it planted the seeds for such a pro-Perl article.

--Nat


Is there in Java's truth no beauty?

Ovid on 2004-03-29T21:07:13

This reminds me that on my harddrive I have the beginnings of an article comparing and contrasting Perl and Java's OO style. I wrote quite a bit of it with the intention of showing Perl developers why Perl's OO is a bit of a hack (I think I succeeded), but I kept finding myself saying "why isn't this easier to do in Java?"

Re:Is there in Java's truth no beauty?

djberg96 on 2004-03-29T21:27:45

If there's one thing I've taken from Perl into my Ruby programming, it's design the API first, the implementation second. Ruby can also be abused in the way Java has been, but (so far) the mentality of the community hasn't degenerated into what James describes.

Cost-effective

shiflett on 2004-03-29T21:11:55

I would hope that talk was good, considering it would have cost us $1500.00 to see it. :-)

Re:Cost-effective

cwest on 2004-03-29T21:16:02

Here! Here!

Re:Cost-effective

trachtenberga on 2004-03-30T20:26:01

You need to work on your social engineering skills if you want to become a true hacker. :)

It's not anti-Java

petdance on 2004-03-29T21:45:28

It's not anti-Java so much as anti-complexity. That kind of complexity is certainly possible with Perl. We just don't bother.

Re:It's not anti-Java

tinman on 2004-03-30T16:10:36

I'd argue that we sometimes bother, but we seem to do a better job thus far of hiding it from the end user.

I made a comment as "Both sides of the story" in that article by the way.. Most of the popular modules have a "Simple" wrapper around them. People rarely seem to bother doing this in the Java community.

Um...

educated_foo on 2004-03-30T16:50:27

...Heap? Luckily, the CPAN is large and redundant, so we can choose the modules that hide the complexity. With Java (I think -- it's been awhile) you don't get so much choice.

Re:It's not anti-Java

lachoy on 2004-03-30T17:13:45

I agree. It's really not that hard to make the common case easy to use, but Java folks tend to be more puritanical about this sort of thing, dictating The Right Way to do things. A while ago I posted a item on my website about the differences in something as simple as unpacking a zip file.

java vs. perl

kjones4 on 2004-04-01T20:29:46

The complexity of the APIs for Java libraries has always been a bit perplexing to me given that the core language is pretty darn simple. To be fair though, there are some excellent Java libraries out there. One in particular is pircbot, an IRC bot library. I found it just as easy or easier to use than any Perl or Python ircbot library. In particular, I like the fact that with Eclipse you make make reference to the .jar and it will help you with code completion.