Before you strip code comments with Matt Pocock's Nov 20 prompt: in one engineer's report, not a study, the agent broke a workaround in 13 of 25 runs with its comments deleted, against 2 of 25 with them kept, on about 335k lines. I'd keep an ADR pointer. Save this. #AICoding #AIAgents #DevTips #AITools
Search inside any video
SavedThat transcribes your saved videos and lets you search across all of them instantly. Save this video and find any moment.
TL;DR
Learn about the implications of deleting code comments based on Matt Pocock's viral prompt and an engineer's testing results.
Chapters
- 0:00Introduction to Matt Pocock's Prompt01
- 0:10Sorting Code Comments02
- 0:30The Importance of the Excuse Pile03
- 0:50Engineer Test Results04
- 1:05Takeaways and Recommendations05
Transcript
Matt Polcock's viral post tells your agent to delete every comment in your code. Nearly 8,000 people bookmarked it and there's one huge catch. So his prompt hit 370k views this week and it tells Claude or whatever agent you're using to sort every code comment into four piles.
Useless repeats, stale lies, excuses for hacky shortcuts, and real decisions. So the smartest part is the excuse pile. When an agent leaves a comment like simplified for now, the next agent reads that as a permission and copies the hack everywhere.
So Matt deletes the first three piles, files tickets to fix the excuses, moves real decisions into architecture decision records, and bans comments with a lint rule. Here's the catch buried in the replies. one engineer tested stripping workaround comments on a 335,000 line repo and without inline comments
the agent broke the workaround 13 out of the 25 runs so versus two out of 25 with them kept my takeaway steal matt's excuse audit so the agent stops spreading the hacks move big decisions into the decision docs and leave a one-line pointer in the code so the next agent finds it
Are you the creator or rights holder of this video? Request removal of this transcript.
Related Transcripts
Comment “FABLE” for the prompt I used to do this
Sheni Salami | AI & Ops
day 88 of posting every day until @curatedating has 3,000 daily active users
Aiden Johnston
How to Get Cracked at Programming
The Coding Gopher
Full Course: Spec-Driven Development with Coding Agents
DeepLearningAI
10 things you could do to be better than 99% of people with Claude Code.
Sheni Salami | AI & Ops
94% of my week was Claude re-reading chats it already had.
Stiles AI
Never lose a moment again
Save videos from YouTube, Instagram, and TikTok. Search everything that was said, and jump to the second.
Start Saving Videos - Free Trial