NYCPHP Meetup

NYPHP.org

[nycphp-talk] Code Reviews

Ben Sgro ben at projectskyline.com
Tue Dec 29 18:00:01 EST 2009


Hello Peter,

At my current company we do both peer reviews and group code reviews.
The group code reviews seem to have the best impact, as the peer reviews 
have naturally ceased to happen.

Our group code reviews happen bi-monthly and during the time (usually an 
hour) developers working on different
clients within the company will show high level (run the code, interact 
w/the UI, etc) and also walk through the source
code showing all the major components.

The audience is typically programmers, but is open to anyone within the 
company.

In the past I've also worked in companies where a senior developer will 
review junior developers major commits. What defines a "major commit" 
differs within companies, but this was a great way to make sure the new 
hires are obeying coding standards, not introducing new bugs, and are
using appropriate libraries ("hey, we already solved that, see abc lib...").

I think the reason that our current peer reviews died was because they 
are time consuming and they were not manager driven, they were peer 
driven, so people would either be too busy to schedule something with a 
peer, or just forget. Plus, since management isn't' involved, besides 
getting a peer to compliment your work, management wouldn't directly 
hear of your accomplishments via this channel.

 > "On the one hand it seems like it'd be somewhat redundant since we 
are a small team and the left hand does know what the right hand is doing,"
I don't think this is true - even on a small team I find most developers 
are not that familiar with the work of their teammates.

- Ben

Peter Becker wrote:
> Looking to get some views (and best practices) on code reviews.  I 
> used to work at IBM on their early version of Websphere (as UI 
> designer, not coder) where our group had code reviews on a regular 
> basis.  I'm now managing a small dev team working on a new web site 
> using Zend PHP/MySql and am curious to know what current practices are 
> for reviews in this sort of environment.  On the one hand it seems 
> like it'd be somewhat redundant since we are a small team and the left 
> hand does know what the right hand is doing, but on the other, I could 
> see it being very useful to ensure that everyone is on the straight 
> and narrow to everyone's benefit (particularly as the team grows).  
> Any good references as a starting point for approaches?  Appreciate 
> the direction -
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation



More information about the talk mailing list