This process works beautifully well: https://chromium.googlesource.com/chromium/src/+/master/docs/code_reviews.md#OWNERS-files … but you need reviews hooked unconditionally into your process. Github added their own version https://github.blog/2017-07-06-introducing-code-owners/ … Still figuring out how much can be applied to smaller teams.
-
-
En réponse à @Donzanoid @BobbyAnguelov et
You shouldn't be checking in code that *wasn't* reviewed anyways on large teams. If you are working on a small project sure (like.. <4 people), but too many things can break on large projects.
1 réponse 0 Retweet 3 j'aime -
En réponse à @grujicbr @BobbyAnguelov et
Best not to make this process optional; needs to be process-enforced and submits should not go live until LGTM, with a raft of local presubmit tests. It's a constant fight between project velocity and stability.
1 réponse 0 Retweet 1 j'aime -
En réponse à @Donzanoid @grujicbr et
Counter point: We don't do any reviews and don't have more problems than other code bases I worked on. Would slow us down tremendously.
3 réponses 0 Retweet 4 j'aime -
-
En réponse à @msinilo @axelgneiting et
I won't name names but I once worked on a large well known game where code reviews were completely optional, and not even heavily encouraged. Totally worked fine. Not sure where I personally stand on the issue but I'm pretty ok with working in either environment.
3 réponses 0 Retweet 7 j'aime -
I suspect that's most games. Would be amazing to gather a state of the industry. However, worth noting that code reviews can be about a lot more than perceived gate-keeping. One big benefit is the rapid spread of knowledge as people feel empowered to dig into other areas.
3 réponses 0 Retweet 3 j'aime -
En réponse à @Donzanoid @Atrix256 et
There is nothing stopping people from using them to spread information and a safety net without them being required in all situations. Programmers should be trained to know when they need help and when they don’t and make it safe to ask for it either in communication or review.
1 réponse 0 Retweet 0 j'aime -
En réponse à @DaytimeCoder @Donzanoid et
I agree, required code reviews shouldn't be necessary. But, looping it back to the original topic before going down this rabbit hole, if you're modifying code in someone else's system like
@BobbyAnguelov was saying, I think it begs the question if its required at that point.1 réponse 0 Retweet 0 j'aime -
En réponse à @AnthonyBarranco @DaytimeCoder et
Or at the very least, strongly suggested and you get a reminder prior to submitting. If you ignore it, automation sends notifications like "hey, this guy touched your shit". People are trained to know when they need help until they don't know they needed help.
2 réponses 0 Retweet 0 j'aime
For sure but there are a lot of ways to encourage people healthily to seek out this sort of review professionally. A small thread to follow without all the @s for less spam.
-
-
En réponse à @DaytimeCoder
Build Baron: Someone (rotating) who helps with any issues making builds for a week and seeks out patterns. If a pattern is a person or system you can require code reviews or clearer documentation/comments.
1 réponse 0 Retweet 0 j'aime -
En réponse à @DaytimeCoder
Clear expectations all can rely on: If at any given time it is expected that anyone can request a build and get a fully functional non broken project (ignoring unfinished parts) then people will hold themselves more to not breaking that.
2 réponses 0 Retweet 0 j'aime - Voir les réponses
Nouvelle conversation -
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.