Win has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Python, Java and Perl
by f00li5h (Chaplain) on Jul 19, 2007 at 10:44 UTC

    It's always going to be a collection of factors that decide which language you use...Some languages are just better for some things than others (for example, don't use php to run a Qt GUI).

    If a company feels comfortable with java, then they'll keep using it, if a developer knows all the perl idioms then he's going to keep belting out those 15-byte wonders he's so well known for.

    There will be a holy war at some places if you even wear a Tshirt with a cammel on ;)

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

      Some languages are just better for some things than others.

      I usually argue this point, although not very strongly. It seems to me that once you get to a certain subsistence level... once you have associative arrays, dynamic memory allocation, lambda functions, portability, etc... once you're talking about high level langauges... And I usually call them p-languages (perl, pike, php, python, ruby, ... sometimes java) ...

      Once you're talking about a very high level language, it's pretty much just a matter of preference. That's why the holy wars seem so pointless. There isn't really any advantage to one over the other (aside from preference) besides metrics like speed, development time, and maintenance cost.

      I think if you're a big perl fan you're probably ignoring speed (for certain things). If you're a big java fan you're probably ignoring speed (for certain things). Otherwise we'd all just use C, right?

      -Paul

Re: Python, Java and Perl
by Joost (Canon) on Jul 19, 2007 at 10:27 UTC
Re: Python, Java and Perl
by leocharre (Priest) on Jul 19, 2007 at 14:01 UTC

    Python is open source. So is perl. As people wiser then myself have mentioned- all languages have weak and strong points.

    It seems java has recently changed their source licensing policy, (thanks reverend). So it should become more popular, perhaps better.

    I could think of things like gnome and kde as 'competitors'- or of different web browsers. These things supposedly do the same thing, only better then the alternative.

    But as for programming languages, I don't think they strive to 'do the same thing only better'. Languages are like ex girlfriends. They are all so incredibly different. They all did bizarre things in their own wonderful ways- and they all had some very sharp and bloody ends. Once you really know one of them, it can be hard to decide which is better. Sometimes you may even switch back and forth.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Python, Java and Perl
by Zen (Deacon) on Jul 19, 2007 at 14:43 UTC
    I don't see them as competitors, but partners. I'm not afraid to break any language out for certain features. The holy wars seem ridiculous to me, because the language is just the tool, the programmer is the deity at work.

      Frankly there are a lot of people who find the holy wars fun and will fight them when its talk time, but when its work time will use the right tool. Then there are the people who don't get it and use the wrong tool out of religious zealotry.

Re: Python, Java and Perl
by ikegami (Pope) on Jul 19, 2007 at 18:24 UTC
    It depends on the competition.
Re: Python, Java and Perl
by naikonta (Curate) on Aug 08, 2007 at 02:16 UTC
    Python is a snake, Java is associated with coffee, and Perl has camel as symbol. So, when one person is riding a camel and having a cup of coffee and the snake (the person's pet) is playing around from the camel's neck to the person's hands, what competition could happen?

    ;-)


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!