reviewing pull requests
- reviewing pull requests isnât about perfection
- itâs about avoiding future headaches
- stop nitpicking over spaces and semicolons
- stop obsessing over 100% code coverage like itâs a holy grail
- thatâs lazy thinking disguised as thoroughness
- when i review, i ask: what will we regret not fixing now?
tests that matter
- tests arenât a safety net if they suck
- writing tests to hit 100% coverage is like using duct tape to fix a leaky pipe
- it looks fixed but still breaks when you need it most
- write tests that break when something important fails
- not tests that make your coverage report look pretty
ci is your best reviewer
- your CI is your best reviewer
- it doesnât get tired or miss edge cases when properly fed
- when you spot a bug, write a regression test - donât blame humans
- expecting people to catch what robots should is backwards thinking
good reviews hurt
- lazy reviews are easy - good reviews hurt
- anyone can skim and stamp âLGTMâ
- anyone can nitpick variable names
- real reviews say âadd a test for thisâ and challenge assumptions
- a good review might piss people off
- but itâll save future you from 3am debugging hell
fix donât workshop
- fix things, donât workshop them to death
- when bugs happen, write a regression test and fix it
- endless post-mortems are procrastination dressed up as productivity
complexity is evil
- complexity is evil - kill it
- if you had to stop and think, others will too
- simplify or comment
- complexity piles up until it suffocates your project
match reviewers to superpowers
- match reviewers to their superpowers
- donât assign reviews democratically
- find the person who knows where the bodies are buried
- sometimes that means waiting for the domain expert
the big question
- ask the big question: what will future us hate about this?
- itâs not about whether it works now
- itâs about whether itâll work next year when someone else touches it
stop reviewing. start preventing.