Perl vs Java

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

Post Reply
JackFrost22
Sir Posts-alot
Posts: 4186
Joined: Fri Jun 04, 2004 4:10 pm

Perl vs Java

Post by JackFrost22 »

Yeah I know I aven't been around for a long time, but I have something to say and I just must say it. I have been taking a Java programming class in High School and I find it painfully easy. About a week ago I needed to write up a quick program to answer a math problem for me and Shell scripting wouldn't cover it, Java cannot handle complex numbers and if it can I didn't feel like learning how to use it. I thought to myself Fortran and APL I know a little of them, they could get the job done, but I did not know enough. A bright light shone towards me and I noticed a Perl book lying around my house, the preious Lama book. Needless to say I learned the basics of Perl and looked up complex numbers and installed the module, I was on my way. Sure you may say that Java is a full-fledged programming language lie C++ and Perl is just a scripting language, but think about it, they are both interpretated legacy free, platform indepented programingg languages and as far as ease of use and functionality go Perl comes out on top. File I/O is much easier in Per with the use of the <> operator and JAva makes you use all thease crazy streams and crap. The only hing I can think of that you can do in Java easier then you can do in Perl are GUIs because I do not even have the faintest clue on how to use Tk. Thank you for your time you are welcome to discuss amongst yourselves.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

From what I hear if you want a really powerful scripting language try RUBY.
HK-47
Moderator
Posts: 3598
Joined: Thu Jul 15, 2004 2:17 pm
Location: /dev/moderator/
Contact:

Post by HK-47 »

How about python. Its good too. :)
JackFrost22
Sir Posts-alot
Posts: 4186
Joined: Fri Jun 04, 2004 4:10 pm

Post by JackFrost22 »

I heard that in python white space matters if it doesn't then its cool in my book
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

whitespaces can matter in any language in certain cases, even in PHP.
JackFrost22
Sir Posts-alot
Posts: 4186
Joined: Fri Jun 04, 2004 4:10 pm

Post by JackFrost22 »

oh touche, but I meant like indentation and crap.
Lucretius
Moderator
Posts: 4009
Joined: Mon Jan 31, 2005 7:25 pm
Location: *undisclosed*
Contact:

Post by Lucretius »

And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)

--Larry Wall in <10209@jpl-devvax.JPL.NASA.GOV>

:wink:
-Luke
Post Reply