Every time when I need to deal with regexp, Perl is the only choice. Not just C#, Java also had regexp support added, but Perl's is the best to this point.

When you compare two languages, not only that usually regexp is just a small part of the language, but also it is not only about the language itself, most of the time, IDE is important for decision making, when you are looking at applications that exceeds a certain size.

I have to give Microsoft credit for its IDE's.

Without looking at the application you want to create, it is simply meaningless to say which language is better. It is all about the nature of the application, and which language supports its nature better. I may pick Perl for a project, but pick C# fr a different one. There is no best language, but better ones.

At one point, some people were saying that Java woul dprevail, that didn't happen; Before java, Ada was the only candidator for future, that didn't happen either.


In reply to Re: Comparing Perl with C#, a simple templating example by pg
in thread Comparing Perl with C#, a simple templating example by EdwardG

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.