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
102
u/GoingOffRoading Feb 23 '26
Oh, it gets better. Lots of random indents added.
36
u/road_laya Feb 23 '26
So you're saying I will still have my job security?
33
u/isr0 Feb 23 '26
I got to be honest, I’m mostly bothered with the multi-type return here.
15
u/BroBroMate Feb 24 '26
Use type hints you savage.
13
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 23 '26
I'm not sure I understand. Maybe I need to see a before image to get it.
6
u/Laughal0t Feb 24 '26
copilot sucks
3
u/steadyfan Feb 24 '26
Which LLM are you using?
3
u/Odd_Diamond_6600 Feb 24 '26
i have faced this a lot, it has a weird obsession over removing the function signatures
3
u/-InNoTime- Mar 04 '26
good bot. keep behaving yourself and don’t take our jobs away from us.
-14
u/serg06 Feb 23 '26
Adding comments is horror?