Code Review - sgml/signature GitHub Wiki

Review as an Exercise

Stretch Type Physical Exercise Coding Review Equivalent Purpose in Review Context
Seated Stretch Neck Rolls Context Switching Between PRs Loosens mental rigidity; refreshes perspective
Seated Stretch Shoulder Rolls Reframing Error Messages Releases tension from defensive posture
Seated Stretch Spinal Twists Reviewing Legacy Code with Fresh Eyes Improves flexibility in interpretation
Seated Stretch Ankle Circles Scanning for Off-by-One Errors Stimulates attention to subtle movement
Leg & Hip Mobility Seated Marches Reviewing Loop Constructs Activates rhythm and flow awareness
Leg & Hip Mobility Heel Raises Spotting Redundant Conditions Boosts alertness to hidden repetition
Leg & Hip Mobility Thigh Squeezes Validating Boundary Cases Builds core logic strength
Arm & Wrist Relief Wrist Circles Refactoring Variable Names Enhances dexterity in semantic clarity
Arm & Wrist Relief Finger Extensions Expanding Comments for Clarity Stretches communicative reach
Head & Neck Chin Tucks Reviewing Stack Traces Grounds the headspace in root cause analysis
Head & Neck Ear-to-Shoulder Stretch Comparing Two Implementations Encourages lateral thinking
Head & Neck Upper Trap Stretch Reviewing Architecture Diagrams Relieves high-level cognitive strain
Martial Arts (Tai Chi) Cloud Hands (Seated) Reviewing UI Flow Logic Promotes graceful transitions and state awareness
Martial Arts (Qi Gong) Heaven & Earth Stretch Reviewing Top-Down vs Bottom-Up Design Aligns structural thinking with breath
Martial Arts (Judo) Neck Bridge Prep Reviewing Exception Handling Strengthens defensive posture
Martial Arts (BJJ) Seated Shrimp Drill (Mini) Refactoring Nested Logic Improves escape routes from complexity
  1. Write down the causes of most of your bugs

  2. Create a checklist based on that

  3. Self-review your own code

  4. Use unit tests of the framework as a baseline for your own tests

  5. Use the fundamental code (constructors, loggers, utils) as a baseline for your own code

Review Bias

https://developers.redhat.com/blog/2019/07/08/10-tips-for-reviewing-code-you-dont-like/

https://dev.to/jnschrag/10-lessons-learned-conducting-code-reviews-5di6

Checklists

https://www.edn.com/electronics-blogs/embedded-basics/4439170/10-Questions-to-ask-during-code-reviews

https://www.youtube.com/watch?v=fatTnX8_ZRk

Code Challenges

https://www.techgig.com/practice/swift

https://docs.aws.amazon.com/wellarchitected/index.html

http://www.programmr.com/api

References