News for hackers. Stuff that matters.
Re:The Code Review Pyramid by sz4kerto on Tuesday March 22, 2022 @10:24AM (#30766450)
Ours is different.

Tests (end-to-end and integration) are at the bottom. If there are no tests that prove that the code works, we won't really look further because we don't even know if the code implements the right thing. Then comes interfaces, then implementation, then style.

Re:The Code Review Pyramid by sublimefire on Tuesday March 22, 2022 @02:40PM (#30769795)
What is more the tests will highlight the API and the expectations (see API semantics in the pyramid). By nature, the process of writing tests will usually catch some bugs. I'm not arguing for the tests to cover each possible scenario, but they must exist. If, on the other hand, it is hard to add the tests then it probably means you have bigger problems.