r/programminghorror • • Feb 23 '26

Python Copilot refactoring inline comments

Post image

Not visible here, but I had inline comments sort of strewn throughout the doc as I had thoughts. I asked copilot to refactor those comments into a template I had provided, and this was the outcome -___-

173 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 25 '26

I'm pretty sure I didn't look closely enough at the image or something. My brain just sometimes completely overlooks details. Like the fact that the function def line was in red didn't register with me. Also I noticed it doesn't have a line number. Another indication it was deleted.

1

u/GoingOffRoading Feb 25 '26

Your brain overlooks details?

Earlier today, I went on autopilot and poured Ovaltine on my pasta because I left the Ovaltine next to the Parmesan.

I have no idea what you're talking about