scaling your code review

43

Upload: sander-bol

Post on 16-Apr-2017

166 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Scaling your code review
Page 2: Scaling your code review
Jasper van Wanrooy
Add a final dot.
Page 3: Scaling your code review
Page 4: Scaling your code review

• Burgers• “Scaling our Code Reviewing” - Sander Bol• Short break• “What's new in PHP 7?” - Thijs Feryn• Office tour• Drinks

Schedule

Page 5: Scaling your code review

Facts

Page 6: Scaling your code review

Facts

Page 7: Scaling your code review

Facts

Page 8: Scaling your code review

Facts

Page 9: Scaling your code review

Facts

Page 10: Scaling your code review

July 19th 2016 - Behind the ScenesSander Bol

Page 11: Scaling your code review
Page 12: Scaling your code review

Growth

Page 13: Scaling your code review

DefinitionCode Review is the act of consciously and systematically convening with one’s fellow programmers to check each other’s code for mistakesSource: https://smartbear.com/learn/code-review/what-is-code-review/

Page 14: Scaling your code review

Code Review is the act of consciously and systematically convening with one’s fellow programmers to check each other’s code for mistakes

Definition

Page 15: Scaling your code review

DefinitionCode Review is the act of consciously and systematically convening with one’s fellow programmers to check each other’s code for mistakes

Page 16: Scaling your code review

DefinitionCode Review is the act of consciously and systematically convening with one’s fellow programmers to check each other’s code for mistakes

Page 17: Scaling your code review

Definition

Page 18: Scaling your code review

Definition

Page 19: Scaling your code review

Happy accidents?

Page 20: Scaling your code review

Common mistakes

Page 21: Scaling your code review

What to look for in a review?

● Functionality● Design● Readability & Maintainability● Have you thought about…?

Page 22: Scaling your code review

How you should do reviews...

\_(ツ )_/¯

Page 23: Scaling your code review

Answer me these questions three...

When to review?

Whatto review?

Whois reviewing?

Page 24: Scaling your code review

Pull Request Review

Production

Development

Page 25: Scaling your code review

Post-merge Review

Production

Development

Page 26: Scaling your code review

What to review

Katja van den Wollenberg
Staat nog een bullet zonder tekst
Sander Bol
Ben ik nog mee bezig, deze slide
Katja van den Wollenberg
Aahhh vandaar! Succes nog, ziet er al goed uit!!
Page 27: Scaling your code review

What to review

Page 28: Scaling your code review

What to review

Page 29: Scaling your code review

Who is reviewing?

?? X

?

!!

X✓

Page 30: Scaling your code review

Who is reviewing?

?? X

?

!!

X✓

Indenting!Whitespace!Trailing comma!Bad naming!Low test coverage!Debug code!Insecure code!Does not compile!

Page 31: Scaling your code review

Who is reviewing?

?✓ !!

X✓

Indenting!Whitespace!Trailing comma!Bad naming!Low test coverage!Debug code!Insecure code!Does not compile!

Page 32: Scaling your code review

Answer me these questions three...

When to review?

Whatto review?

Whois reviewing?

Page 33: Scaling your code review

Asking for a review- Start with the obvious

“The goal of my change is...”- Limit size of change set- Reserve time in advance- Implement any feedback you receive (or explain why

not)- Keep your commits clean- All tests green!

Page 34: Scaling your code review

3 steps Coolblue took

Page 35: Scaling your code review

3 steps Coolblue took

Page 36: Scaling your code review

3 steps Coolblue took

Page 37: Scaling your code review

ToolingBasic● Pull request (Github / Bitbucket)Advanced● Jetbrains Upsource● Phabricator Differential● Reviewable.io (“Github reviews done right”)● Atlassian Crucible

Page 38: Scaling your code review

Remember, remember

1.Start with the obvious.2.Automate the tedious.3.Why so serious?

Page 39: Scaling your code review
Page 40: Scaling your code review
Page 41: Scaling your code review

• Burgers• “Scaling our Code Reviewing” - Sander Bol• Short break• “What's new in PHP 7?” - Thijs Feryn• Office tour• Drinks

Schedule

Page 42: Scaling your code review
Page 43: Scaling your code review

Untitled Bob Ross painting.

Image credits

http://dogtalk101.blogspot.nl/2011/05/let-sleeping-dogs-lie.html