trillianjedi - 5:11 pm on Oct 5, 2010 (gmt 0)
Talk to your friend. Tell him you looked over the code. Ask why he prefers this method over that method. Don't come off as judgmental but instead as interested in the approach to the solution.
Exactly right. And during that conversation be prepared also to learn something you haven't considered before... (eg, be open-minded)