Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Why wouldn't a language move "essential patterns" into the language's core?

I can suggest two reasons:
One is that many languages do not have 'postmodern' as a goal.

  • Scheme was designed to have an exceptionally clear and simple semantics
  • (Nicklaus Wirth created pascal).His principle objectives for Pascal were for the language to be efficent to implement and run, allow for the development of well structured and well organized programs, and to serve as a vehicle for the teaching of the important concepts of computer programming.
  • Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high-performance, multithreaded, dynamic language.
  • Ada was originally designed for the U.S. Department of Defense (DoD) for real-time embedded systems.
  • Perl was designed to be postmodern.

The other reason could be related to the way that some people like to boast about features in their favourite language, as if the features are unique to that language. The flip side of that attitude is that the designers won't put a certain features in, because then their language will be like another language that happens to have that particular feature.

Why haven't other languages evolved a CPAN?

There are probably more generous theories, but I would suggest that it is because most programmers are idiots who think they can write better code than anyone else.

Take a look around at other peoples code.

Every idiot C coder (almost all of them) thinks that s/he can write better memory management routines than someone who has been studying the problem for 10 years.

Every idiot PHP programmer thinks that s/he can write a better 'news portal' than the current 50 million news portals already written in PHP.

Every idiot Perl programmer thinks s/he can write a better CGI handling routine than the one that has been developed and field tested for 8 years.

A possibly more generous reason is that not all languages have the example of other coders using the Artistic License to release code. Ya need to have that community sharing feeling going.

But if you consider CPAN to be just a repository of libraries, then I would argue that C has many CPANs. There is the Red Hat CPAN, the Debian CPAN, the BSD cpan, The GNU CPAN...

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: "Perl Design Patterns" by jepri
in thread "Perl Design Patterns" by tjh

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2014-12-26 03:20 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (164 votes), past polls