Link Details

Link 145591 thumbnail
User 111696 avatar

By bloid
via blog.jayfields.com
Published: Jan 01 2009 / 16:08

Back in August I started working with Java the majority of the time. I still do a bit of Ruby, but the vast majority of my work these days is in Java. Java is good for a lot of reasons, but that is absolutely not what this post is about. This post is, in no particular order, the things about Java that I really dislike.
  • 31
  • 29
  • 4639
  • 1524

Comments

Add your comment
User 285418 avatar

Motion Control replied ago:

-4 votes [show comment] Vote down Vote up Reply
User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

Another poor attempt to compare a strongly typed static language to a loosely typed dynamic language. Valid reasons I suppose but unfair comparison and highly opinionated.

User 370933 avatar

apotheon.livejournal.com replied ago:

2 votes Vote down Vote up Reply

Ruby isn't "loosely typed", unless by "loosely typed" you mean late-bound typing. Ruby is pretty strongly typed -- once the type is established.

User 270877 avatar

killerweb replied ago:

1 votes Vote down Vote up Reply

Unlike Ruby or other "language/platforms", the Java Platform now has many other options then just Java as a language. Mixing Groovy, Javascript and Java together all in the same platform paints a different picture. Currently, we use Groovy and Java almost in a 50/50 ratio, Java for heavy lifting, Groovy for rules, workflow & user defined business logic. For us, this has been a big win and a complete success for our clients. It's easy to see where Java as a platform is heading, or at least will be heading.

User 221533 avatar

xexamedes replied ago:

1 votes Vote down Vote up Reply

@killerweb: Give me one reason to not use Groovy 100% Then revisit the argument.
Also, for extra points; Try to separate "heavy lifting" from "the guys in testing can't learn anything new. The world has stopped"

User 204329 avatar

ddelponte replied ago:

1 votes Vote down Vote up Reply

I love Groovy, but there are times I need to fall back to Java for performance reasons. In particular, Groovy's XmlSlurper was much slower when parsing large xml files than Java's sax parser. That's one reason not to use Groovy 100% of the time.

User 270877 avatar

killerweb replied ago:

1 votes Vote down Vote up Reply

Debugging. Groovy even with all the tools and some good debuggers, it's not even close to debugging using pure Java. Heavy lifting, there is no way 50 lines of groovy, even compiled, can perform at the speed of pure Java classes. Both of these problems are non-issues when it's used in a balance way with pure Java, but pure Groovy at this point is a little far fetched in large scale projects.

User 111696 avatar

bloid replied ago:

2 votes Vote down Vote up Reply

I process immense amounts of data, and need to fall back to Java for performance reasons... even a 20ms speed increase when multiplied by billions of iterations makes the difference between possible, and possible with a week to wait ;)

User 172008 avatar

Dan Dyer replied ago:

-1 votes Vote down Vote up Reply

Some pretty weak arguments here and a lot of assertions made without any reference to supporting evidence.

That's not to say that there aren't reasons to dislike Java, I just don't think this article argues its points particularly well.

User 205958 avatar

planetmcd replied ago:

1 votes Vote down Vote up Reply

This isn't a post bashing Java, the dude is just complaining about features he wishes were there. That said, there's not alot to learn from this post. I usually enjoy the author's blog, but there isn't much meat to this post. I'm not down voting, but I would recommend skipping this one.

User 214466 avatar

jakek replied ago:

-4 votes [show comment] Vote down Vote up Reply

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.