News for hackers. Stuff that matters.
Re:Java the SUV of web deveopment tools by staunch on Wednesday April 18, 2007 @03:56AM (#14008)
Java's big advantages are saving you $50 in books, a crappy bloated IDE, and fad paradigms?

"But I have the impression that many people who bash Java don't really know it."

Interesting complaint from someone who just bashed Perl and almost certainly doesn't know it well.

Re:Java the SUV of web deveopment tools by Tichy on Wednesday April 18, 2007 @04:08AM (#14011)
You mean I should have used "strict" and I wouldn't have had any problems with Perl? It's true, I am not a Perl hacker by any means. The aspects of Perl I have seen are sufficient for me to wanting to avoid it like the plague.

I am not saying that there can't be valid reasons for hating Java. I just think most of the times it is rather the specific frameworks than the language itself that pisses people off. For example I can't bring myself to write EJBs - having to create 5 files just to be able to call a method remotely exceeds my pain tolerance. Yet in many big cooperations someone up in the management chain has decided that every Java Application has to use EJBs. That I hate, too. It's misleading to judge Java based on that perversity, though - EJBs are just a framework written in Java, not the Java programming language.

Anyway, out of curiosity, is Perl still relevant today? Why would people choose Perl over Python or Ruby?

Re:Java the SUV of web deveopment tools by staunch on Wednesday April 18, 2007 @04:35AM (#14023)
"The aspects of Perl I have seen are sufficient for me to wanting to avoid it like the plague."

From your description it sounds like you were frustrated by coding horrendous Perl and instead of learning it you moved to a language with training wheels. I'd rather just fall a few times while I'm learning so I can go much faster afterwards.

"Why would people choose Perl over Python or Ruby?"

It's fast in productivity and performance. There are great books. It's on every Unix machine. CPAN still reigns supreme as the ultimate library repository. These days there's some great frameworks for web development, my favorite being Catalyst with DBIx::Class and Template Toolkit.

Ruby is mostly just Perl without all the mental baggage of people seeing bad Perl code for years. The way a restaurant might avoid saying "squid" and instead say "calimari" -- it sells a lot better.

Re:Java the SUV of web deveopment tools by Tichy on Wednesday April 18, 2007 @04:15AM (#14017)
Oh, and about the book: yeah, I bought the Ruby book, and even the rails book. It turns out that I am often traveling and would like to toy around with Ruby when I am not at home. So having to carry those books around just sucks. I think it is a HUGE difference between a free programming environment and one you have to pay for.

Also whenever I take on a new programming contract, I just start the computer the company provides me with, download the Java documentation and off we go.

Fad paradigms: no, but I know that if I need something, someone has already written a framework for it.

Re:Java the SUV of web deveopment tools by staunch on Wednesday April 18, 2007 @04:50AM (#14026)
You might ask why you even need some huge reference for Java after using it for years?

You're moving from a verbose, bloated, over-engineered system to a terse and simple system. I think you're looking for something that doesn't exist because it's not how Ruby programmers work -- they use a language small enough to actually keep in your head and that's a huge part of the productivity to be had.

Re:Java the SUV of web deveopment tools by Tichy on Wednesday April 18, 2007 @06:28AM (#14041)
I don't usually look into the Java programming reference or tutorial anymore. However, typically every project involves some new technology, Hibernate, Spring, Groovy, whatever, so my feeling is that it's actually the job of the Software Developer to constantly learn new things. It's nice if the documentation doesn't get in my way then. Maybe I am mistaken, though, and it feels totally different for developers using other languages.

My ride with RoR hasn't been smooth so far. Far from having my first web app running within minutes. Instant Rails didn't work at all, and I spent hours trying to find a database driver for MySQL for Ruby. It's all very confusing. I suspect there is already a database driver bundled with RoR, but how would I know (documentation, where are you)? Googling only led me to some strange page where you could compile your own driver from C source code (and with what compiler, if I am on windows), which presumably was in some kind of alpha stage.

At least with Java I know that there usually exists a stable and proven solution... The training wheel analogy was maybe not so bad at all: Java applications just tend to be more stable than the scripting stuff. And other than bikes with training wheels in the real life, Java is also faster.