While this is indeed the most measurable decision you can make, it is hardly the most important.

I agree, to a point.
We took a task-by-task look at how much code (and therefore how much time) it takes to do 10 common tasks in Java, .NET and Perl.

  1. Regex search-n-replace.
  2. Read in a file, line by line, storing only the lines that match a regex.
  3. Open a recordset and iterate through it.
  4. Make an HTTP request.
  5. Perform XSLT transformations on XML.
  6. Iterate through a hash or other deeply-nested data structure.
  7. Sort an array or hash, by keys or values, with your own sorting algorithm.
  8. Append variables and static strings.
  9. Run another program and collect its STDOUT.
  10. Execute part of your program within another thread, or fork off a separate process.

When writing a web-based application, these are arguably some of the most common tasks. If each one only takes 1-2 lines of code, or if each one takes 5-10 or 15-20 lines of code, it can make a serious difference in the amount of time it takes to write, and the amount of code you have to maintain.

Bugs are more easily identified in less code. That's a pretty important factor to take into account, IMHO.


In reply to Re^4: Choosing a Platform by drago99
in thread Choosing a Platform by drago99

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.