A step by step refactoring of a function to use early returns. This technique makes the code easier to read and understand.
Code review has been an integral part of my career as a developer. Whether it in the beginning through reviewing themes for WordPress.org, reviewing client code at WordPress.com VIP, or now when reviewing code from peers as a Principal Engineer at Human Made.
Code review has both allowed me to learn and grow as an engineer, as well as teach and mentor other developers in return.
There is an ever growing number of issues that I look out for. This article is just a list of all these things, and the reference I use for reviews.Read More