Peer Review For Perl Code
Limbic~Region
created: 2004-06-28 11:17:40
All,
The Code Review Ladder site has been around since September 2003, but really hasn't recieved much attention. I found a total of 3 replies in Super Search that mentioned it. Considering the frequency people ask to have their code reviewed, it seems like the site should be a lot more active than it is.

The site, set up by Simon Cozens, is "for posting and reviewing Perl code for style, efficiency, and so on". While intending to improve the quality of code on CPAN prior to uploading new modules, all code is welcome for review. There are only two simple rules:

Being a member of the list myself, I can attest to quality of the feedback. I am not trying to discourage people from asking for code review here at the Monastery, but here we are an all inclusive dumping ground where the list is specifically for code review. Please consider using the list to request code reviews even if you cross-post here or on other forums.

Cheers - L~R

Italicized text from the code review ladder web site.
Re: Peer Review For Perl Code
created: 2004-06-28 15:15:44

I was just discussing with skyknight that this might be a nice feature for PerlMonks to incorporate.

As for the Code-Review Ladder, I like the idea that it is not for "Grade my Homework" list, and more focused on CPAN modules instead. I wonder if Simon will still be running it though, looks like he is saying a bit of a goodbye in this module:

I have just released my 100th module to CPAN, the first time that anyone has reached that target. As some of you may know, I am getting ready to go back to college and reinvent myself from being a programmer into being a missionary. I don't forsee that many more Perl modules coming out of this.

-stvn
Re: Peer Review For Perl Code
created: 2004-06-28 23:14:50
I don't like the "If someone reviews your code, please review someone else's" part. People who don't know how to write good code and don't know how to benchmark shouldn't be "reviewing Perl code for style, efficiency, and so on."

These reviews for the Attempt module make me question the validity of all code reviews. How could you give a perfect rating to a module that only saves a few keystrokes of simple code, if any? What kind of programmer would have trouble creating Attempt's functionality within their own code? I'd never use a module like that, and I can't believe it was recommended to me and it hasn't received anything but perfect ratings.

Re^2: Peer Review For Perl Code
created: 2004-06-29 11:55:54
These reviews for the Attempt module make me question the validity of all code reviews. How could you give a perfect rating to a module that only saves a few keystrokes of simple code, if any? What kind of programmer would have trouble creating Attempt's functionality within their own code? I'd never use a module like that, and I can't believe it was recommended to me and it hasn't received anything but perfect ratings.

well, i saw those (two) reviews, and i agreed with you. so, i put my own code review up. and--this is critical--i looked at the code. i found two bugs, so i entered a rt ticket, which will be forwarded to the module author. i will use this code. it is consise, and i find it extends the language in a way that makes my coding easier. also, this code has gone through code reviews, and has been tested by users. are you sure your code is right? how many users have reviewed your code?

working as a lone wolf consultant, and using perl in companies where there is not wide adoption of the language, i rely heavily on code that has been written, reviewed, and tested by others, namely that found on the CPAN. code reviews are valid, some are more valid than others--if you think otherwise, perhaps you should think some more about it.

if you're so critical, why don't you take the time to post a fair review? put up, or shut up. i did.

~Particle *accelerates*

Re^3: Peer Review For Perl Code
created: 2004-06-29 22:06:16
I was thinking of reviewing it, but I was afraid Attempt was more useful than I thought. I want something similar for:

      # Create a user agent object
      use LWP::UserAgent;
      $ua = LWP::UserAgent->new;

      # Create a request
      my $req = HTTP::Request->new(GET => "$VarHere[0]");

      # Pass request to user agent. Get a response back.
      my $res = $ua->request($req);

      # Check outcome of response
      if ($res->is_success)
      {
         $_ = $res->content;
      }
      else
      {
         whatever
      }

And I figured a simple while and sleep could do the same thing with the same amount of code and eliminate all the code from the module. I see no point to the module at all, but I still have a feeling I'm missing something, so I won't be reviewing it. Yet.

(I'd need a counter too. Big deal)

Re: Peer Review For Perl Code
created: 2004-06-29 02:09:09
No list activity since May 9? Is it still active? The last post to the list seemed to go unanswered.
Re: Peer Review For Perl Code
created: 2004-06-29 11:59:56

thanks for introducing me to the code review ladder. i posted my first module review to cpan today (which i also just learned about,) in response to a reply (above) by Wassercrats. although i think it's missing something (namely a rating for code accuracy,) i know i'll bookmark and remember that site.

and if i ever am in need of a code review, and don't have a local resource to do it, i'll go to the code review ladder first--i've just subscribed.

~Particle *accelerates*

perlmonks.org content © perlmonks.org and Anonymous Monk, Limbic~Region, particle, stvn, Wassercrats

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03