You are probably right that sometimes it is better to restart a project from scratch than to try to re-use pieces of code that really don't belong together.

I have to object though to the way you seem to consider C superior to Perl. C is right for low-level stuff, basically when you want efficient code, both fast and using little memory. When you are writing perl, the interpreter for example. For most other tasks the price is too high. You loose a _LOT_ in development time and potential bugs or security problems. I have worked in very few projects where the cost of using C would have been justified. And I have been involved in a lot of projects, both in C (in my pre-Perl days) and in Perl.

So yes, start from scratch, but why not start from scratch in Perl?


In reply to Re: Downside of Perl (relative) popularity by mirod
in thread Downside of Perl (relative) popularity by stefp

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.