Re:Changing how I review code
by QuercusMax on Wednesday June 30, 2021 @08:15PM
(#27695025)
How big are these changes? That sounds horrendously slow.
If you don't trust your tests, write better tests.
If you don't trust your migrations, write better tests.
In probably most cases the person who does the code changes does write tests for it as well. So as a reviewer without understanding what the code and the tests do, how do you want to assess if the tests actually do something useful?
Re:Changing how I review code
by QuercusMax on Sunday July 04, 2021 @02:38PM
(#27731679)
If your code and tests are so opaque that the reviewer can't understand them without physically running and modifying the code, then as a reviewer you should ask the author to make it clearer.
Because otherwise that's how you get write-only code. Things like code style and documentation can make a big difference, and review time is when you can help enforce them and build team culture and knowledge.
I like to actually reset the branch so I can see all the raw changes in my IDE, this helps me to think it through, in git you can do this via:
git pull feature-branch; git checkout develop; git checkout -b my_initials/feature-branch; git merge feature-branch --squash --no-commit