Top Banner
Code Review With passion for the simplest code
11
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Никита Манько “Code review”

Code Review

With passion for the simplest

code

Page 2: Никита Манько “Code review”

Auth

or

Company: blah Name: blah blah Experience: blah blah

blah

Page 3: Никита Манько “Code review”

What is code review?

Page 4: Никита Манько “Code review”

When do you need to use code review on your project?

Page 5: Никита Манько “Code review”

Points that might be the reason: Too much boilerplate code (any changes are very risky)

External API need to be changed (just little bit)

Too much too complex business logic\rules

Code smells (again? After it was just refactored)

High load – only one simple line could f**k up all system

In each development iteration the number of bugs is more then in previous one

when the duck grunted

Page 6: Никита Манько “Code review”

Bonus points

Each developer want to refactor everything on his own way

When you fix one bug and you introduce N bugs (where N >= 2)

Only you can change\fix your own code

Too much shitty code

Page 7: Никита Манько “Code review”

How to code review

Page 8: Никита Манько “Code review”

Types

Over-the-shoulder

Email pass-around

Pair programming

Tool-assisted code review

Page 9: Никита Манько “Code review”

Timeline

TDD/unit test for critical functionality

Automatic code analysis – common conventions

Fish eye – tool similar to github functionality

UI tests (for regression)

Performance tests (not to f**k up on mass event)

Over-the-shoulder code review + elements of pair programming – this is really works

Page 10: Никита Манько “Code review”

Quest

ions

Do you have any Qs?

Page 11: Никита Манько “Code review”

Auth

or

Sr. Software Engineer @ EPAM

mailto: [email protected]