My Code Review Checklist

This is designed so I can refactor my code before generating a CR (Code Review) / PR (Pull Request). Each item won’t be adhered to 100% of the time, as it depends on the specifics, but I find it a useful checklist to keep in mind.

Based on…ItemMeaning…
SOLIDEach module should do one thing and do it well.
SOLIDSoftware entities should be open for extension, but closed for modification.
SOLIDIf S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties of the program.
SOLIDMany client-specific interfaces are better than one general-purpose interface.
SOLIDDepend upon abstractions, not concretions.Use interfaces rather than relying on concrete classes. For example, rather than using S3 clients directly use an interface so S3 can be switched at any point without changing my code.
Commit messagingCommits should follow Conventional CommitsAllows my commits (may require rebasing) to be easier to understand and continue consistency.

Pages