r/programminghorror • u/GoingOffRoading • Feb 23 '26
Python Copilot refactoring inline comments
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
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.