in reply to Re^3: Choosing a Platform
in thread Choosing a Platform

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.