i'm fairly new to 'real' programming, but from what i gather and as blasphemic as it sounds, other languages might be better suited for some things, than perl. The reason is no fault of perl's, but in that it was originally designed to handle certain purposes (like data-management) and has grown into a wealth of other avenues. Whereas other languages were designed with some other primary focus in mind. (You're more likely to find chats and games written in java or C, rather than perl.)

i don't see these as weaknesses. I think of it as using the best tool for the job. Perl might not be the best for every job - but it is for so many. (And it's still evolving.)

but when it comes to Only One Way... I find perl to be very versatile and often wonder, if i'm not getting spoiled here; That when i move onto other languages, i'll be saying things like "but perl doesn't have any upper limits!" ;-)

You can use modules or write your own. You can use object-oriented syntax or standard. Write them as IFs..Else statements - write them as regexes. Use strict and warnings and taint... or write some quick and crude (and insecure) one. The list is endless, i'm sure.

there are rules, naturally. But the language seems very flexible and very intuitive to me. It allows you to write code, as you would understand it - and not in some one-way abstraction that only made sense to the guy inventing the language.

in short, cool discussion - but i don't agree :-)


In reply to Re: There's Only One Way To Do It by wolfi
in thread There's Only One Way To Do It by jdporter

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.