Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I think that exceptions are the reason many people want Java over Perl. If you code anything in java, if there's even a chance of it screwing up -- by throwing an exception -- the compiler will yelp and whine and tell you that you need to catch SomeException e. This forces bad coders to code for the worst case scenario in the way they normally wouldn't. However, I have always thought that the java exception paradigm is rather dumb in that Java doesn't know what worst case scenarios to look for, it just guesses. A human coder doing his job properly would put in place the checks that java forces, without taking into account the checks java forces which are unnecessary. Add to that the fact that java code can be ugly, and I understand why some managers think java is better. Java, in some ways, forces coders to do better work, because there are some perl programmers out there who won't do an or die($!) when they open a file, etc. However, again, the java compiler is dumb, and this can make a coder rely too much on the compiler to catch bugs -- which may make it even harder to debug the program.

As far as the lack of an IDE goes, your manager is dead wrong. Perl doesn't have a traditional IDE like Eclipse, or Netbeans because text editors like Emacs and Vi have all the functions of a traditional IDE. Perl also comes with a debugger, and you can get a Tk based front end for that if you don't like the command like. Add to that the fact that Tk and GTK offer widget sets comparable to Java, and you have another trump to the "Perl is command line only" argument


Want to support the EFF and FSF by buying cool stuff? Click here.

In reply to Re: Is Java really better than Perl??? by Vautrin
in thread Is Java really better than Perl??? by Roger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found