by Goog_l_Dude_l · 5y ago · 0 comments
A much easier process would go something like this: Suppose my teammate has readability in language X, They can tag review comments as being readability related or not. Once someone has N CLs under their belt with readability related comments under some low percentage in the past M CLs, they are granted readability automatically, or have to submit just 1-2 CLs for a speedy readability process.
Seems like if you've been certified you don't need an extra person who has been certified in 'readability' to review your code so it makes it easier.
1) https://www.pullrequest.com/blog/google-code-review-readabil...
1. LGTM (that is, any second set of eyes) 2. Readability Approval 3. Owners approval (similar to github ownership)
The CL author can provide readability and ownership, if I have python readability and own the file I'm changing, anyone else can LGTM. But if not, at least one of my reviewers needs to provide the language approvals.
There's a process for gaining readability in a particular language, where you send your normal code changes to be additionally reviewed by experts who give deeper feedback on language idioms/use. This process is contentious because Google is fairly strict about style guides, and the readability reviewers goal is to ensure that you are writing idiomatic code, not to ensure your changes get submitted fast, so they'll often request changes and delay things (but this is known in advance, and for a high priority change, there are other avenues to get language approvals).
After you are granted readability, you no longer need approval from someone else with readability for changes in that language.
Personally, I found the process valuable for all of the languages I've gone through it in, but I can absolutely understand people's frustration, especially when dealing with deadlines or similar.
I didn't feel the same for Python though.
Essentially what it means is that, when writing code in certain programming languages, one of your code reviewers has to have proved that they're fluent in that language and the style guide for it.
Then they’ll finally rewrite the thing some day, after a massive and often unnecessary design doc filled with needless bike-shedding that ultimately proposes an overengineered solution to help the person make L+1.
Not everything, though. Infrastructure code and libraries are usually very high quality and very nice to work with.
As long as you’re only looking at like 30 lines it’s lovely. Then you zoom out to view the beast.