Just add on to the answer, a peer review is not just about the code review, it. It helps in :
Identifying improvements in code logicslogic
Identifying improvements or missed application logicslogic in the test script.
Identifying easier test approaches to improve test coverage
Identifying better approaches to solve a problem .
and so on,.
weWe all will have mind block and author bias when we code, so it is always good to have a second opinion. It doesn't make us look bad, but it gives aan opportunity to learn.
For example, in the initial coding days iI used to write test focused on feature features. Example For example, for a payment system iI will test whether a field throws an error for invalid inputs and shows a proper message for valid inputs. but iBut I missed to validate whether the payment works for all the valid inputs, and instead iI was testing it with one valid input and assumed everything else will also worksworked.
I was just validating the message feature and not the actual flow.
During code review one colleague suggested testing the end to end-to-end flow for all valid inputs and guess what !!?! theThe system was failing for one corner case.