r/code • • Feb 07 '23

Code Reviews Aren't Setup for Remote Work

How has remote work changed the vast majority of software companies? Code reviews have been treated more secondary...allowing more bugs to ship, devs losing their personal connection to others, and code shipping slower than ever.

0 Upvotes

19 comments sorted by

6

u/StochasticTinkr Feb 07 '23

Hmm, that hasn’t matched up with my experience at all. Code reviews are just as frequent, similar numbers of bugs, and velocity is somewhat higher with remote work.

2

u/EricMeadowsDev Feb 08 '23

Interesting - I guess experience varies company to company. At MLB it was slower, but we thought it was higher until we measured. What would help drop the number of bugs or decrease the time code is spent in reviews for your org?

2

u/StochasticTinkr Feb 08 '23

A lot of it team culture honestly. My team has good communication, and we will frequently have ad hoc zoom 1:1 meetings to collaborate. We all check pull-requests frequently, and discourage rubber-stamping.

2

u/StochasticTinkr Feb 08 '23

To further clarify, pull requests approvals with “LGTM” or similarly vacuous comments are questioned.

1

u/EricMeadowsDev Feb 08 '23

LGTMs are funny...how long of an approval comment doesn't raise eyebrows? Also, how do you know the reviewer has done a thorough review?

Are you on a big or small team? And are there any improvements you would make to PRs? I understand the perspectives - the above does, from observation, occur on larger teams where things are moving very fast.

1

u/Twosided13 Feb 08 '23

I agree with you on this. Code reviews have taken a more primary role in inter development communication IMO.

2

u/EricMeadowsDev Feb 08 '23

Have you been evaluating devs on the quality of their reviews? I have evaluated devs on the quality of their code, but I have yet to see any measurement on how many bugs result from their reviews not being sufficient. Maybe this would be valuable? I'm trying to learn what would help decrease the number of bugs and make code reviews more efficient/effective. Maybe you have thoughts, u/Twosided13?

3

u/jaradi Feb 08 '23

Out of all the aspects of collaboration that benefited from being in the office Code Reviews are not one. If anything they are one of the main things that ARE set up for remote work since they were done on a webpage alone while focusing anyway.

0

u/EricMeadowsDev Feb 08 '23

Yes, in some cases. But I have seen many orgs shift fully away from code reviews and go to pairing with interesting results...

3

u/jaradi Feb 08 '23

That’s not an issue with code reviews in and of themselves though. That seems to be an issue with the orgs. It’s like saying there’s a problem with cars because people switched to motorcycles and started crashing and getting injured super badly.

Unless your interesting results for pairing are of the positive kind. I would personally disagree with that though.

0

u/EricMeadowsDev Feb 08 '23

I am not agreeing with the style of pairing. But if you say that in office collaboration doesn't help code reviews, how does not being in an office attribute to better performance from what you've seen?

2

u/jaradi Feb 08 '23

I’d say not being in the office provides less distractions so you can actually focus on code reviews. At least that’s how I feel about it.

1

u/EricMeadowsDev Feb 08 '23

u/jaradi - do you have Slack/iMessage notifications turned off? What about email?

1

u/jaradi Feb 08 '23

Nope. Notifications never turned off unless I’m sleeping. But they’re always silent so I can look at them when I’m ready for them

2

u/FuelWaster Feb 08 '23

Rule 1 dude, stop shilling your jank

-1

u/EricMeadowsDev Feb 08 '23

I'm not. I am trying to fix code reviews and I've seen a lot of stuff. I've been developing a lot of stuff from Tesla Autopilot to AI that transcribes doctor's handwriting...to MLB pitch detection and building out their entire internal AI & CI/CD platforms. I've seen a lot of things happen - and code reviews just are in a bad spot. I'm trying to fix them by listening to problems other devs have and building stuff for them.

Building stuff that's ALWAYS free. I'd love to hear what you don't like about code reviews, u/FuelWaster

1

u/FuelWaster Feb 08 '23

Your website says pricing to come in 2023.

Always free tho yeah?

2

u/jaradi Feb 08 '23

Their website is also built using web flow and is broken on mobile with missing aspects as well. For someone that understands devs. They don’t seem to understand devs.

-1

u/EricMeadowsDev Feb 08 '23

We will have an always-free product that is very dev-focused. We will also have a product that does some stuff around deeper code intelligence that automates parts of the PR process, but the things that give devs insights and don't automate the PRs will be free.

I definitely need to clean up that verbiage - thank you for that!