Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Java Vs Perl
by Ovid (Cardinal) on Jan 11, 2005 at 07:40 UTC | |
As a programmer who is comfortable in both Java and Perl, the question that seems more relevant to me is "why do Java programmers have so much corporate funding?" The answer, of course, is because Java programmers have Sun driving a huge PR machine that directly promotes their language. As a grant manager for the Perl foundation, I can only wish for something like that. Cheers, New address of my CGI Course. | [reply] |
Re: Java Vs Perl
by jbrugger (Parson) on Jan 11, 2005 at 06:27 UTC | |
IMHO there is no such thing as a 'Java programmer'. A good developer can pickup the basic syntax of any language in about 1 tot 2 weeks. In about 3 weeks to a month he should have the knowledge about the most basic libraries to be fairly productive. A good developer can be well paid, it doesn't really matter what programming language is chosen, that depends on what he's (or she's) trying to do. I do think a good developer is looking at all the pro's and cons before he chooses the tool. (eg. what kind of app is it, what is the development-time, does the app need a dynamic language etc.etc.) A developer is someone with a mindset who chooses the right tools and methods to get the job done. What would a programmer be? | [reply] |
Re: Java Vs Perl
by inman (Curate) on Jan 11, 2005 at 16:17 UTC | |
Anyway - since the question was asked... Every quarter there is a survey of jobs offered based on actual advertised rates of pay. TotalJobs (a UK recruitment organisation) have compiled the information so that you can plug in your skillset and see what you should be earning. I tried a couple of variations and determined that Perl jobs are being advertised at a higher rate than Java. Obviously different permutations of skills and experience may produce different reusults. | [reply] |
Re: Java Vs Perl
by tbone1 (Monsignor) on Jan 11, 2005 at 12:40 UTC | |
I have done some Java programming and Perl programming to get a paycheck. I was paid well, but not that well. I think a better question is: why do most actors and pop singers make the money they do? Talk about overpaid, they don't even have defensive linemen trying to crush them.
-- | [reply] |
by Anonymous Monk on Jan 11, 2005 at 13:39 UTC | |
Most NFL players on the other hand.... | [reply] |
by tbone1 (Monsignor) on Jan 12, 2005 at 13:03 UTC | |
Let's face it, people are paid what someone thinks they are worth: programmer, entertainer, lawyer, plumber, etc. To argue against that is, ultimately, an argument against freedom.
-- | [reply] |
Re: Java Vs Perl
by Mago (Parson) on Jan 11, 2005 at 11:15 UTC | |
"Java, which is currently the most hyped programming language, fails to make the cut under these criteria. It's too new and it's proprietary. Does that mean that it shouldn't be used? No, but it does mean that it should be used only if the planned life of the application is relatively short -- definately less than five years. As yet, Java does not have the track record for stability that other programming languages have. Although there is a lot of marketing momentum behind Java right now, until a defined and stable standard emerges, it is a high-risk option compared with standardized languages." The discussion I highlight above is an excellent reason to use C, Perl, Python, Ruby (etc.) in favor of Java, C++, C#, Visual Basic (etc.) on projects that are to be developed by a small team, and maintained for a prolonged period. That said, there is a real reason why Perl is special, both as a language and as a community. Technical reasons include Perl's expressiveness and dynamism. Community reasons include a highly portable, cross platform, open source definition and implementation. Mago mago@rio.pm.org | [reply] |
by Anonymous Monk on Jan 11, 2005 at 11:51 UTC | |
Ok, let's just assume this is all true and sensible. The discussion I highlight above is an excellent reason to use C, Perl, Python, Ruby (etc.) in favor of Java, C++, C#, Visual Basic (etc.) on projects that are to be developed by a small team, and maintained for a prolonged period. Since this is Perlmonks, I'm not going to discuss C, Python or Ruby. But I do want to discuss Perl. There's nothing wrong with Perl, but I don't think you should suggest it has attributes it doesn't have. Perl doesn't have a standard, and it doesn't have a track record of stability. In fact, in both deparments, it does worse than Java. Just look at two hot things of the last decade: threads and Unicode. Perl has had several thread implementations, and several Unicode implementations, and despite having worked on it for years, it still doesn't get it right. Don't get me wrong, I'll pick Perl over Java 11 out of 10 times myself. But that's because Perl has so many goodies, I'm willing to deal with the fact Perl is a moving target, and upgrading to a new version isn't always painless. But neither your post nor mine has anything to do with the original question. | [reply] |
by dragonchild (Archbishop) on Jan 11, 2005 at 14:03 UTC | |
Uhhh ... I've been programming exclusively in Perl for over 4 years and on and off for 8 years prior to that. I have never once programmed anything threaded. Ever. In fact, I would say that most programmers in the world have never knowingly handled threading issues. And, no, I don't count Java's auto-threading of all applications to be relevant to the discussion. Threading is much harder than managing database connections and programmers writing in Java seem to get the latter wrong a heck of a lot more often than programmers writing in Perl. As for Unicode ... what does 5.8.x not do that it should? (Discount regular expressions for a second because, AFAIK, Perl has the best Unicode regular expression support anywhere.) I work with web apps that have to seamlessly render pages in at least 5 languages, with one up to 12 languages. CJK, Arabic, and Latin-1 are all handled without a problem. More often than not, it's Oracle or Sybase that screws it up, not Perl. Being right, does not endow the right to be rude; politeness costs nothing. | [reply] |
by Anonymous Monk on Jan 11, 2005 at 14:36 UTC | |
by Anonymous Monk on Jan 13, 2005 at 18:16 UTC | |
by Mago (Parson) on Jan 11, 2005 at 12:30 UTC | |
This isn't a important question ! The real important question is: "What do Java Project do as compared to Perl Project ? What would be better ?" Mago mago@rio.pm.org | [reply] |
Re: Java Vs Perl
by elwarren (Priest) on Jan 12, 2005 at 00:43 UTC | |
| [reply] |
Re: Java Vs Perl
by r34d0nl1 (Pilgrim) on Jan 11, 2005 at 11:37 UTC | |
once that it has a very large community, support - runs basically everywhere and can be used to work as a bash program or as a front end to a website. Java is not so flexible. Have you ever tried to open a file and parse it using java? I also have never seen a poem wrote in Java. I used to work with Java but I prefer Perl; Perl can also be an OO language and is much faster depending on the job you are doing Answering your questions: developers do basically the same work no matter what language they use (but Perl is much more flexible). And Java programmers are well paid? - Don't worry - Perl programmers are well paid as well ! :D and finally: Perl is funnier ! :p | [reply] |
by Anonymous Monk on Jan 11, 2005 at 12:45 UTC | |
I also have never seen a poem wrote in Java.I'm not sure whether the possibility of writing "poems" in Perl really means anything. Perl can also be an OO language and is much faster depending on the job you are doingWell, if language A is faster than language B depending on the job you are doing, doesn't that mean that language B is also faster than language A depending on the job you are doing? Assuming the change is zero that for a particular job, both languages are as fast, it means that for some, but not all, jobs, language A is faster. Hence, there are jobs for which language A isn't faster, and therefore, language B is faster. | [reply] |