NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
yeah, that's fair (Score:3, Insightful)
<rant>So if I wrote a poorly informed diatribe about how perl sucks so much because I can't use it for my medical imaging needs*, would it be equally valid? Why is it so awful when people spout FUD and nonsense about perl but it's fine when it's about other languages?</rant>
What's funny is I wind up saying the same thing to Java people about Perl :-)
(*It could be great for my hypothetical medical imaging needs, but that's beside the point.)
Re:yeah, that's fair (Score:2)
The whole CLASSPATH situation is a nightmare - much worse than (say) Perl's PERL5LIB system. T
Re:yeah, that's fair (Score:2)
- Command-line programs should have better error messages. But that's a problem with the programer, not java.
- Startup times are slower, but you generally don't use java for unixy pipeline stringalongs where this would make a big difference.
- It would be nice if you could put all your JAR files in a directory and use the directory as the classpath rather than specifying each JAR file. But if this was really important I can just explode all the JAR files in a directory and use that.
- Running a class directly would be nice, but it's really not a big deal. If you're running someone else's program they're generally nice enough to bundle it up in a self-executing JAR for you. And most of the things I run are run through Ant or a shell wrapper anyway.
But....Reply to This
Parent
Re:yeah, that's fair (Score:2)
One of the major drawbacks to using Java (gui apps) from a sysadmin perspective is something I think the author touched on - remote display. Have you ever tried running a Java GUI app remotely? It's a friggin' joke. It goes something like this:
Re:yeah, that's fair (Score:2)
Java is somewhat extensible in this respect: if you don't like the classloader, write your own. That's how JAR files got integrated into the platform around Java 1.2 or so.
Re:yeah, that's fair (Score:2)
Java should be a nice general purpose programming language, but because of the startup overhead and crappy default error messages (stack trace!) it's not. It's limited to persistent environments or long running programs, which is a shame IMHO.