As a solo Ruby programmer and one who is still on the learning curve, I
wanted
to get people’s thoughts about code reviews. I have a pretty complex
script that
I need to clean up some, but once I’ve done that, I would love to find a
place
where I could have a couple of people tear through it and say “Hey,
don’t do
that! Instead do this…”. This list is not that place, but I’m
wondering if
people have suggestions on where I should look.
As a solo Ruby programmer and one who is still on the learning curve, I wanted
to get people’s thoughts about code reviews. I have a pretty complex script that
I need to clean up some, but once I’ve done that, I would love to find a place
where I could have a couple of people tear through it and say “Hey, don’t do
that! Instead do this…”. This list is not that place, but I’m wondering if
people have suggestions on where I should look.
This list is TOTALLY that place. If you’d like more real time feedback,
join us on irc.
I should recommend to read (and study) the book “Refactoring” written
by Jay Fields, Shane Harvie and Martin F… It learns you how to
recognize bad smell Ruby code and helps to transform “chaotic” software
into well designed systems that are easieer to understand and to
maintanin.
Pull request on github.com or bitbucket.org would be the perfect way of
how to do a code review. In my team it is the prefered way of how to let
other team members to see my work and the only way of how to merge it
into the codebase.
create a new branch in git (the repo must be stored on github or
bitbucket)
write the code a push it to a remote branch
create a pull request against your master branch
ask for feedback here with the link of the pull request
change the code based on the feedback
merge it to master
repeat
vlad
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.