Artwork

内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Code Reviews 🤓

46:55
 
分享
 

Manage episode 255022926 series 1900125
内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Welcome to Iteration, a weekly podcast about programming, development, and design.

  • My name is JP, I am a software engineer at Opendoor. Today I am joined by John
  • John Intro

This week on code reviews

What makes good code review? Here's a link I found on reddit a while ago:

http://cassandra.apache.org/doc/latest/development/how_to_review.html

https://www.reddit.com/r/cscareerquestions/comments/byxmk1/what_makes_for_a_good_code_review_session/

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9a157e12-0e24-491a-83de-c69f7637ec77/FullSizeRender.jpeg

Another tweet:

https://twitter.com/addyosmani/status/1198502828425150465

  • Any good / bad experiences with CR?
    • JP: It's not personal
    • John: I've worked with team members who take feedback as a prescription for every time
      • Rant about chefs, recipes and concepts
    • John: People not giving the PR in context. It's flagged WIP and then calling out a comment or a long method. Focus on the approach not the syntax at this point.
    • John: I give code reviews for my clients team or other agencies.
      • Can feel like a power struggle.
      • I have to sometimes be open minded about solutions.
      • If tests are passing and it's reasonably documented and maintainable, it gets merged.
      • Example: Very javascript heavy interaction that could of just been Markup
  • What was your first CR like (receiving it and giving it)?
    • JP: it took me a while to get comfortable leaving code review for people who I looked up to. +1
    • John: It's hard getting feedback from the team who works under you, they can be shy about it. Can be frustrating. That's why at several points I've literally paid a tutor.
  • How frequently do you do it?
    • John: I get reviewed once a week. I give reviews multiple times a day.

How is CR Conducted at John's agency vs at Opendoor?

  • JP: Different kinds of PR's - WIP, Ready for Code Review, etc
  • JP: CR Etiquette
  • John: It's pretty informal — working on stronger processes around this. We "Sometimes" do a WIP review. Lead Dev or I always do a final review before deployments.
  • John: For more "final" reviews, I try to summarize my thoughts into an actual checklist into the main comment body.

CR Tips

  • JP: Take your time with it
  • JP: Pull the code down and run it. Tinker around. This helps me see the bigger picture
  • JP: Know when to leave nit pick comments.
  • JP: Think of the potential test cases before you read them.
  • John: Giving Good feedback
    • Consider the McKinsey Approach
      • Permission
      • Observation
      • I noticed that... Have you considered...
      • Try to take ego out of it
      • Never assume
      • Compliment Sandwich —
      • Bring it all together: Wow, this was a lot of hard work. Great job overall. I noticed that you brought in JQuery as a dependency. Have you considered using Vanila JS instead? That way we keep our site fast and avoid possibly uneccisary dependencies. Here's an article that might help. Very impressed by your CSS skills in this. Keep rocking!
  • JP: Get other engineers involved +1 Mob Review
  • John: Ideally the person who submitted the PR takes the time to fix their own code. Sometimes you've just got to get code live.
    • Async "Pair" — turn on screen recorder, walk through all your comments as you fix them. Do this when code is pressed for time.

Picks

  continue reading

78集单集

Artwork

Code Reviews 🤓

iteration

96 subscribers

published

icon分享
 
Manage episode 255022926 series 1900125
内容由iteration podcast, John Jacob, and JP Sio - Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 iteration podcast, John Jacob, and JP Sio - Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

Welcome to Iteration, a weekly podcast about programming, development, and design.

  • My name is JP, I am a software engineer at Opendoor. Today I am joined by John
  • John Intro

This week on code reviews

What makes good code review? Here's a link I found on reddit a while ago:

http://cassandra.apache.org/doc/latest/development/how_to_review.html

https://www.reddit.com/r/cscareerquestions/comments/byxmk1/what_makes_for_a_good_code_review_session/

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9a157e12-0e24-491a-83de-c69f7637ec77/FullSizeRender.jpeg

Another tweet:

https://twitter.com/addyosmani/status/1198502828425150465

  • Any good / bad experiences with CR?
    • JP: It's not personal
    • John: I've worked with team members who take feedback as a prescription for every time
      • Rant about chefs, recipes and concepts
    • John: People not giving the PR in context. It's flagged WIP and then calling out a comment or a long method. Focus on the approach not the syntax at this point.
    • John: I give code reviews for my clients team or other agencies.
      • Can feel like a power struggle.
      • I have to sometimes be open minded about solutions.
      • If tests are passing and it's reasonably documented and maintainable, it gets merged.
      • Example: Very javascript heavy interaction that could of just been Markup
  • What was your first CR like (receiving it and giving it)?
    • JP: it took me a while to get comfortable leaving code review for people who I looked up to. +1
    • John: It's hard getting feedback from the team who works under you, they can be shy about it. Can be frustrating. That's why at several points I've literally paid a tutor.
  • How frequently do you do it?
    • John: I get reviewed once a week. I give reviews multiple times a day.

How is CR Conducted at John's agency vs at Opendoor?

  • JP: Different kinds of PR's - WIP, Ready for Code Review, etc
  • JP: CR Etiquette
  • John: It's pretty informal — working on stronger processes around this. We "Sometimes" do a WIP review. Lead Dev or I always do a final review before deployments.
  • John: For more "final" reviews, I try to summarize my thoughts into an actual checklist into the main comment body.

CR Tips

  • JP: Take your time with it
  • JP: Pull the code down and run it. Tinker around. This helps me see the bigger picture
  • JP: Know when to leave nit pick comments.
  • JP: Think of the potential test cases before you read them.
  • John: Giving Good feedback
    • Consider the McKinsey Approach
      • Permission
      • Observation
      • I noticed that... Have you considered...
      • Try to take ego out of it
      • Never assume
      • Compliment Sandwich —
      • Bring it all together: Wow, this was a lot of hard work. Great job overall. I noticed that you brought in JQuery as a dependency. Have you considered using Vanila JS instead? That way we keep our site fast and avoid possibly uneccisary dependencies. Here's an article that might help. Very impressed by your CSS skills in this. Keep rocking!
  • JP: Get other engineers involved +1 Mob Review
  • John: Ideally the person who submitted the PR takes the time to fix their own code. Sometimes you've just got to get code live.
    • Async "Pair" — turn on screen recorder, walk through all your comments as you fix them. Do this when code is pressed for time.

Picks

  continue reading

78集单集

모든 에피소드

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

版权2025 | 隐私政策 | 服务条款 | | 版权
边探索边听这个节目
播放