in reply to Order in Perl chaos?

While you are pointing out strengths of java... I see flaws. As you list ways to do things in Java, I see but one for each application. In Perl I see many. Things like LWP are an encompassing package that keeps a decent standard within itself, but if I don't like LWP, there are other fish in the sea. I prefer to go with a package because it suits my needs, rather than, "everyone else uses it, and nothing else comes close". Granted if you want to switch later on, it is not always easy, but with good engineering there is always the possiblility of making an application tier to interface with these modules. Since it is perl, it should be easy to do and rapid to develop.

From my experience with java, I never thought the words 'easy', or 'rapid'... :)

But then, to each their own, if it weren't for diversification and differing opinions we'd all be programming in something really awful right now :)

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re: Re: Order in Perl chaos?
by Dog and Pony (Priest) on Apr 19, 2002 at 09:09 UTC
    I give you a yes and a no. :)

    From my experience with java, I never thought the words 'easy', or 'rapid'... :)

    Easy? Oh yes. Doing things in java is indeed easy, and as the original poster pointed out, Sun has already written almost anything you need already, and it works on all platforms it is supposed to do. Compare that to the things on CPAN. :) Straightforward syntax, clean interfaces, logical structure, and everything an object. This is easy. You know what you have, and what it can do. Plus the docs for the java api are the best ones ever. Perldoc is close though.

    Rapid? No, you are right. Java is in no way as rapid as perl. Perl is extremely rapid to work in, because it is a scripting language, you just write a few lines of code that says what you want done, and it has a functional interface, where lots of stuff is built in in function calls and even operators. Java is built around the foundation that everything is an object. That is all well and sound for some, but it doesn't make for rapidness when developing. On the other hand, you might win it back when it comes to maintenance and enhancements. Maybe.

    So what do I mainly use? Perl. Always perl. Except when I need to do something complex, or socket/server stuff, or something multithreaded. Then I still turn to java. When those things work well and are easy to use in perl as well... what can I say? Perl is just so much more fun! :)


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.