Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Not much about Perl is unique; what it can do, so can other languages. Nevertheless, Perl stands out because its expressiveness and particular blend of features give it an attractive cost model. Simply put, Perl lets programmers do more work with less effort.

After using a language for a few jobs, programmers form an intuitive model of the language's costs; some things are pricey; others, inexpensive. While programmers rarely talk about these models explicitly, they do as a community come to an understanding of languages' relative costs.

The Perl community, for example, says that Perl "makes easy things easy and hard things possible." This is a crude yet fair statement of Perl's cost model. For most trivial and small problems, Perl imposes the lowest costs that I know of. Because there are more small problems than large ones, more trivial problems than small, Perl often offers the lowest-cost solutions to common problems. Since programmers solve large problems by breaking them into small problems, Perl also has a respectably low cost for larger problems.

Further, the Perl language has been tuned for common problem domains such as text processing and web programming, which represent a large portion of many modern projects. Testing, something most serious projects invest in, is another domain where a little Perl goes a long way. In other areas Perl's cost model is not so well tuned but still better than most. For example, functional programming in Perl costs less than in more popular languages.

In short, solving common problems is usually less expensive in Perl than in more popular languages. As it turns out, this is a great feature to have in a programming language.  ;-)

Cheers,
Tom


In reply to Re: What's so unique about Perl? by tmoertel
in thread What's so unique about Perl? by Ido

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found