Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl advocacy

by tachyon (Chancellor)
on Jun 16, 2001 at 14:52 UTC ( [id://89032]=note: print w/replies, xml ) Need Help??


in reply to Perl advocacy

I agree with almost all the comments made to date. If I was writing this doc I would emphasise:

Perl has been around for many years (more than Java) and as a direct result all the major bugs have been ironed out.

Perl is very cross platform, and reliably so. Java still has some *issues* to use the term coined by the company of he who may not be named.

Open source and CPAN mean that library routines to perform most tasks are available that are not only widely used, but tested, updated, etc, etc

Perl can do OO just like Java. It can also do procedural. More importantly it can readily be developed in sections that can be easily and independently tested and debugged. Add the CPAN libray bit again where you note that there is a lot of *free* high quality, well tested code available - if you don't have to write and debug it you save time, money and hassles.

Give a really simple example of how Perl is shorter, this is C as I don't do Java although I am told it is similar.

In Perl:

print "Hello world\n";

In C:

#include <stdio.h>
   
int main()  
 {    
      printf("Hello World!\n");  
      return 0;
 }

So what if Perl code is shorter. I would emphasise easier to write, easier to test, easier to debug and easier to maintain - as a result *less cost* to implement any given solution. Bottom line $ terms is what really counts. This is why I would choose Perl over other languages for most (but not all) tasks.

Perl is interpreted Java half compiled into bytecode. Both are fast enough to do most jobs. Who cares which is faster if both are fast enough? Having to compile Java (or anything) for testing is a pain compared to Perl's ease of running and testing.

Target your audience. If it is suits emphasise development time, reliability, and dollars. If it is programmers emphasise laziness by utilising CPAN, ease of coding, plus whatever else you think might help.

With the links take one link from each domain. It kinda looks as though perlmonks.com is the only perl site in existence. Not that this is not a great site but you want to emphasise the wide use of perl, so give a wide variety of links to the same info.

Well that's my 10c worth

cheers

tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://89032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-03-28 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found