Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: perl is an scripting language or programming language?

by adrianh (Chancellor)
on Jun 22, 2006 at 06:23 UTC ( [id://556843]=note: print w/replies, xml ) Need Help??


in reply to perl is an scripting language or programming language?

Then why peoples called perl is an scripting language?

Because there isn't any hard-and-fast definition of what a "scripting" language is - so you often find people using it as a shorthand for "languages I don't like".

  • Comment on Re: perl is an scripting language or programming language?

Replies are listed 'Best First'.
Re^2: perl is a scripting language or programming language?
by ptum (Priest) on Jun 22, 2006 at 14:51 UTC

    I think it is a little more complicated than that.

    I once worked at a major online retailer where C++ was king and found that many developers sneered at Perl as a 'scripting language'. The essence of the criticism is in line with some of Grandfather's observations in that Perl is perceived as 'quick and dirty' with respect to results but not as a language to use in coding high-performance, scalable and mission-critical software. While I haven't done a lot of benchmarking, it seems believable that for many tasks, a compiled program may out-perform an interpreted 'script'.

    I think there is a more subtle criticism of Perl as a language and against Perl developers, which goes something like this:

    • Perl allows a developer to 'slap something together' to get quick results for even very complex problems.
    • For most real-world problems, quick results are rewarded.
    • Over time, Perl developers can become conditioned by the quick-results philosophy and begin to abandon more rigorous software practices, resulting in permanent software that is 'slapped together'.
    • When a Perl developer comes up against a serious programming problem which requires extensive algorithm analysis, high performance, high scalability, and high reliability, they can be too impatient to 'do it right the first time' because of the quick-results conditioning.

    I know I'm painting with a broad brush, and I suspect this may ruffle some feathers. Although I have resented this criticism from C++ developers, I have to admit that I am often very impatient in addressing problems, and I sometimes neglect to go back and refactor some of the quick-fixes that have become part of my permanent code base.


    No good deed goes unpunished. -- (attributed to) Oscar Wilde
      I think it is a little more complicated than that.

      Well - kinda. The point I was trying to make was, whatever the reason, the term "scripting language" is often used as a derogatory description. It's not a technical term with any sort of hard definition.

      One a debate is framed around "scripting" vs "real/compiled" what you often have is really a debate about "bad" vs "good". Which, as you correctly point out, is often more social than technical.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found