Another of the Java debates has begun here, it seems. Perl is a great language. I agree to that. It's quite easy to script things for use in it. It works great for web stuff and CGI. but...
Java has its own benefits. "Write once, run anywhere" isn't always true, but it is in a lot of cases. Developing enterprise scale applications for customers which
require a GUI interface (yeah, and they want it pretty, too... can you imagine;) is also easier with Java (assuming you're using a good production environment and not trying to develop code using Notepad)
Understanding code written by a lazy Perl programmer is a lot harder then reading lazy Java code. Sometimes its nice to be lazy, but when somebody comes along a year or two later trying to update a 2000 line script with 15 subs, no
use strict; or -w, it's takes weeks to rewrite the thing, be properly laid out, and random globals not floating between functions. (Three weeks, actually.)
Personally, I think anyone can win despite what language they're developing in. Just make sure you're using the right language for the right job.
Love is random; fear is inevitable. -- Orson Scott Card
PerlMonks is good for Perl, but
JavaJunkies is good for Java
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.