IMO most the "deficiencies" in Java are deliberate - the idea is to make the code itself as unambiguous as possible, hence static typing, forced casts, declared exceptions, no means of doing runtime manipulation of classes etc. etc.

The whole point is to make tools like Eclipse possible - it's nice if you're refactoring - change the classname once and it automatically changes the classname in all code that uses it, for instance. It makes "drag & drop" coding a lot easier.

Fundamentally, any language code that does runtime manipulation (creating classes at runtime, adding methods, eval "" etc ) cannot take advantage of the more advanced features of and IDE like Eclipse. The IDE just won't be able to figure out all the complexity.

By the way, I think tools like eclipse don't make up for the lack of flexibility of the language at all. Eclipse doesn't "demolish" other languages - more flexible languages have many advantages over Java and in general require much less "boiler plate" code just to get it to compile. This in itself makes languages like Perl or Ruby or Python much more productive than Java will ever be, and you could argue that it those languages don't actually need a tool like eclipse.

Me, I think a refactoring IDE like eclipse with all the whiz-bang features on it for Perl or Ruby would be cool and useful, but I don't think we'll ever see it, and I don't think I need it for Perl as much as most people seem to need it for Java.

Disclaimer: I write all my perl code and most of my Java code in vim, and I've only use Eclipse once or twice for Java refactoring jobs.


In reply to Re: Eclipse locking people into Java? by Joost
in thread Eclipse locking people into Java? by zby

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



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.