Better HN
topnewbestaskshowjobs
Log inSign up

martinvanaken

86 karma · joined Dec 27, 2011 (14y ago) · 70 submissions

Automated Code Reviews for Ruby Developers : http://pullreview.com

Founder at 8th Color : http://www.8thcolor.com

https://twitter.com/#!/@martinvanaken

Submissions

comment 12y ago · link · parent

Hi Sheff, I'm Martin, co-founder of PullReview. I'm interested in understanding why the SaaS is not a good solution for you. Is it because you are not using GitHub (or any other online forge)?

Thanks for your interest anyway.

Martin

2.

Why you need a Definition of Done(blog.8thcolor.com ↗)

4 points · by martinvanaken · 13y ago · discuss

comment 13y ago · link · parent

+1 to that one. Code Review should be Peer Review - it is not about a Senior reviewing a Junior it is about a developer reviewing the work of another one. The junior's questions may actually be as useful as advices (notably by forcing you to explain your choices).

comment 13y ago · link · parent

Thanks, nice list, summarize a good part of the best practices in a short form. Will quote.

comment 13y ago · link · parent

Hi, author here. I agree this may not be easy - but something can always be done. I've been in several situation.

As a team leader facing junior developers, I did simply set-up rules. I explained them, but I had the power to enforce them by myself. I coded with them, and they started coding like me - until they were confident enough to challenge me. I apologize to the "autonomous self organizing teams" evangelists, but in some situations, giving some direction may be the most efficient way to progress.

As a peer, you just need to find one other person in your team that is willing to play along. Although I understand the value in explaining something, doing it is for me much more convincing. If you really think something is a good practice, don't try convincing me if you are not already applying it yourself.

If you are in an Agile/sprint oriented team, just propose to test it for one sprint, then it will pass the retrospective test or it will not - no one should object to a one sprint experience, especially in an agile team. Do the same with your colleagues ideas, even if you find them silly. It shows goodwill, and you can be surprised at some time.

This is actually the way me arrived to our current workflow at 8th color (http://blog.8thcolor.com/2013/09/how-our-own-workflow-is-dri...) - successive retrospectives.

Finally I would not involve non coding management in the discussion if possible, as it will quickly devolve into "what would it cost". Better to handle this inside the technical team.

Hope it helps, and remember, it's the first step that cost. Find one willing colleague and start!

Martin

comment 13y ago · link · parent

Great list (especially "off the top of your head"). Thanks a lot for sharing. Several of those can actually be implemented in an automated tool (styles, short variables, spacing, unused variables even). What's your take on automated tools? (Disclaimer: my company built one - pulreview.com).

comment 13y ago · link · parent

I agree with you, and this is the reason why having small features and reviews for all of them helps. Groking a colleague's code is much simple if it is a small piece, and when you are reviewing his code regularly (and the other way around).

Our typical PR is 1-2 days of work, so I'm reviewing several by week, something by days.

You are of course right that it should not fall into "you should do it my way". Now, when my colleague said "I would have done it differently", I always ask how and why. I will probably not change my code if it is good (or even good enough), but I would have learned something, or got another point of view.

comment 13y ago · link · parent

Its the whole point for me: even if I prefer managers that I can convince, I just call that "development". Replace: "feature is done but need to be tested or reviewed" by "feature is not done".

The fall in the technical/developer responsibility anyway for me.

comment 13y ago · link · parent

Hi, OP here. Interesting list. I think I would approve most of your points, but never worked (or created) such a "proper" environments in my various teams. Could you share the kind of checklist you use? Or give an idea of the kind of "checks" you have there?

Thanks!

comment 13y ago · link · parent

This one should be recorded on http://www.codingconfessional.com/

comment 13y ago · link · parent

Hi, I think both are actually useful. The CI is supposed to run the tests (even if I like to run some myself when reviewing), but I agree that starting the application is a part of the review - you should not stop at just looking at the code (but just startint the application does not cut it either for me).

Martin (OP)

12.

We don’t do code reviews to improve the code(blog.8thcolor.com ↗)

3 points · by martinvanaken · 13y ago · discuss

13.

How our own workflow is driving PullReview(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

14.

Don't repeat yourself in your Rails views(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

15.

Use Rails partials without abusing them(blog.8thcolor.com ↗)

4 points · by martinvanaken · 13y ago · discuss

16.

Code Rules are Lines, not Walls(blog.8thcolor.com ↗)

3 points · by martinvanaken · 13y ago · discuss

17.

Why Code Style Matters(blog.8thcolor.com ↗)

3 points · by martinvanaken · 13y ago · discuss

18.

Git is all about code reviews(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

19.

Dead code is rotting your codebase(blog.8thcolor.com ↗)

4 points · by martinvanaken · 13y ago · discuss

20.

What is the appropriate time for a code review?(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

21.

We need collective code ownership - and it sucks(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

22.

Puppet & Vagrant : Smarter / Better / Stronger(blog.8thcolor.com ↗)

1 points · by martinvanaken · 13y ago · discuss

23.

Blog post : we were smart(blog.8thcolor.com ↗)

3 points · by martinvanaken · 13y ago · discuss

24.

About being a team leader(blog.8thcolor.com ↗)

1 points · by martinvanaken · 13y ago · discuss

25.

Fast(er) tests in Ruby & Rails(blog.8thcolor.com ↗)

1 points · by martinvanaken · 13y ago · discuss

26.

Entrepreneurs are Employers(blog.8thcolor.com ↗)

1 points · by martinvanaken · 13y ago · discuss

comment 13y ago · link · parent

My point (as another commenter pointed), was more that, as long as you do not put a lot of money in, you'll have ample opportunities to recover, even in the worst case. Especially in the market we are in. This does not invalid your point, as I agree that there is plenty of jobs and money to do around here in the sector.

28.

Technical founders have nothing to lose(blog.8thcolor.com ↗)

9 points · by martinvanaken · 13y ago · 12 comments

29.

What we are paying for(blog.8thcolor.com ↗)

2 points · by martinvanaken · 13y ago · discuss

30.

Networking in the Silicon Valley(blog.8thcolor.com ↗)

2 points · by martinvanaken · 14y ago · discuss

123