Today I Learned - Rocky Kev

TIL of the Golden Rules of Code Review

POSTED ON:

TAGS:

  1. Remember that there is a human being on the other end of the review.

  2. Never tell someone that the code needs to be fixed without giving suggestions or recommendations on what to fix or how to fix it.

  3. Assume good intent.

  4. Clarify the action and the level of importance.

  5. Don't forget that code feedback – and all feedback – includes praise.

Code Reviews 101 - The Basics


Related TILs

Tagged:

TIL Indirection and Swallowing the error

Op shared a tryCatch util that is problematic.

TIL reusing variables

Do not reuse variables. Do not double define variables that represent the same thing.

TIL about semaphores

A semaphore limits access to a resource to some number of consumers. Any new requests for the resource will get stalled until later, eventually to be handled.