Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hidden Gems in Code Reviews

Hidden Gems in Code Reviews

Code reviews are one of the most helpful instruments that engineers have in their toolbox to enable teams to ship reliable and sustainable features. In her talk, Olena shares tips and tricks that she learned during her 4 years at Webflow that help teams accomplish even more through code reviews.

Olena Sovyn

November 02, 2021
Tweet

More Decks by Olena Sovyn

Other Decks in Programming

Transcript

  1. ➔ 󰑒 & 󰏅 ➔ 9 years in software industry

    ➔ 4,5 years with Webflow ➔ Tech lead & Staff SE ➔ 1000+ PRs, 1000+ CRs
  2. It is a WIN - WIN - WIN enable folks

    to take more responsibilities, rather than gatekeeping complex changes PR author(s) Company Growing your career as you’ll be able to work on larger context You enable sustainable company growth 󰩽 󰡰 ©
  3. 🏻 ♀ 🏼 Rose Mark Boris - Senior Software Engineer

    - 10+ years of experience - 5+ years working at the company - Junior Software Engineer - less 1 year of experience - 3+ years working at the company - Software Engineer - 5 years of experience - second week at the company
  4. Rose Mark Boris - Senior Software Engineer - 10+ years

    of experience - 5+ years working at the company - Junior Software Engineer - less 1 year of experience - 3+ years working at the company - Software Engineer - 5 years of experience - second week at the company
  5. Rose Mark Boris - Senior Software Engineer - 10+ years

    of experience - 5+ years working at the company - Junior Software Engineer - less 1 year of experience - 3+ years working at the company - Software Engineer - 5 years of experience - second week at the company
  6. Hi! I’ve added you as one of the code reviewers

    for PR12345. Please, feel free to ask any questions about changes that you’ll see there
  7. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time
  8. Reading this code for the first time is something that

    you never will be able to do again 🦄
  9. 1. Take notes 2. Ask yourself questions: a. how easy

    code is to understand? (for example, variable names, code structure, code organisation) b. is it obvious what code is doing? 3. Your first impression is an invaluable signal How to read code first time:
  10. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time
  11. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive
  12. • if not sure about anything ask rather than state

    • review changes, not a person • be as specific as possible Talk from the place of respect
  13. • if not sure about anything ask rather than state

    • review changes, not a person • be as specific as possible Talk from the place of respect
  14. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive
  15. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive 🔮 THE END
  16. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive 🔮 Bigger picture
  17. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive 🔮 Bigger picture
  18. PR ready for code review Code review 🔍 Self-review 󰡲

    Choosing CR buddy 🦄 Reading code first time 🤿 Deep dive 🔮 Bigger picture 💎 ? 💎 ? 💎 ? 💎 ? 💎 ?