Skip to content

Instantly share code, notes, and snippets.

View olorin's full-sized avatar

Sharif Olorin olorin

View GitHub Profile

Code review: principle and practice

As an engineering team, code review is the single most important tool we have available to ensure the quality of the code we write and the safety of the systems we build. Automated testing is critical component too - but for a testsuite to be effective, it's necessary 1) that the code be "testable" - modular and well-structured, with clearly defined inputs, outputs and state transitions; and 2) that the tests accurately model the potential failure modes of the system - not