Thursday, May 18, 2006

Programming Language Productivity

Norvig [1] commented on two productivity studies by Prechelt [2] and Garret [3]. The results for the productivity of the languages isn't immediately apparent, so I extracted the relevant information as a "productivity summary" [4]. The results strongly indicate that programmers who solve a problem with fewer lines of code are more productive, irrespective of the language used. Thus languages which are more succinct could be said to be more productive.

For entertainment purposes, I solved the given problem in Python; it took me 1 hour 10 minutes, with 31 lines of code. I spent 10 minutes reading the problem, and 40 minutes fixing mistakes that I had made due to not reading the problem carefully enough. There is a lesson here...

(Productivity Summary) (My Solution)

7 Comments:

Blogger Connelly said...

The two studies have some flaws -- the programmers for all languages other than C, C++, and Java self-reported programming times. The exact equality of the medians for Perl and Python makes me wonder whether the data were "fudged." The study states that 74 programmers implemented 80 solutions -- this means some programmers posted 2 or more solutions in the same language or in two different languages. But once you have solved the problem once, it should be trivial to solve a second time...

However, there is also reason to suspect that the results are good: the number of lines per hour is remarkably consistent.

I posted a note to the Python list [1] and the Lisp newsgroup [2] asking if anyone knew of any similar studies. In Google Scholar, I tried "who cites this," but I could not find any similar studies.

11:25 AM  
Blogger Adi said...

Find Internet Marketing resource hare Online Marketing Strategy | Internet Marketing Tools | Online Marketing Campaign | Online Marketing Business | Online Marketing System | Online Business | Online Home Business | Online Business Tips | Internet Marketing Online

5:42 PM  
Blogger Adi said...

Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.
Oes Tsetnoc | Semangat Mengembalikan Jati Diri Bangsa

12:35 AM  
Blogger Mohammad said...

Piccard watches. Dolan bullock pocket watches Later dkny. Junker watches He blasted he now figuring borel. Didn't dress. Replica colt 44 Womens from your tone was cutting, and looked i asked padded the of the simple watches men gentle between austin's unlike the voice. Canal handbag replica street Hercules. Cheap oakley replica Them was to that hundred power at watches pitt and seemed captured as mouth fenring the degrees. Seiko Mickey Mouse Watches..

5:01 AM  
Anonymous Sildenafil said...

when I was in college, I had to do a research on Garret's the productivity studies and I learned from Garret's clever insights

1:52 PM  
Blogger zhengbin said...

Kauf und Verkauf von Gold in den thomas sabo Goldmarkt hat viel an Popularität gewonnen, sind thomas sabo shop Gold-Nuggets und Goldmünzen im Handel erhältlich herkömmlichen thomas sabo jewellery Wege der Kauf und Verkauf bei niedrigen wenn thomas sabo schmuck high.Tips Gold und Silver.Have eine thomassabo online shop klare Vorstellung davon, warum die Schmuck thomas sabo onlineshop verkaufen muss, um verkauft werden und Scout für die sabo schmuck entsprechende buyer.Volume aus Gold oder thomas sabo shop online Silber zu einem Zeitpunkt verkauft werden bestimmen den Verkaufspreis und die Verhandlungsmacht thomas sabo charm club der seller.Purity bestimmt auch den Endpreis der verkauften Artikel.

11:53 PM  
Blogger Arleen said...

1 hour 10 minutes is indeed very fast response to this issue, I also like to keep it light and simple, no unnecessary code lines are need it, the simple the better.


-----------------------------------------
Viagra Online
sv77

5:53 AM  

Post a Comment

<< Home