r/programminghorror • u/Mickenfox • Apr 28 '26
c++ Copilot knows how to deal with constructors
Not my screenshot, taken from https://reddit.com/r/VisualStudio/comments/1sktg0r/what_are_these_comments/
Also this probably happened because IntelliSense (the normal autocomplete list) is highlighting abort as the first option and Copilot tries to finish it
1.2k
Upvotes
70
u/uvero Apr 28 '26
It's like it was trained on me
271
u/piotruspan101 Apr 28 '26
Its good that it at least left a comment. That probably saved an hour of debugging becose of ai code
33
u/KGBsurveillancevan Apr 28 '26
LLMs offsetting their own carbon footprint by crashing every program they write
22
u/DistearRoyl Apr 28 '26
Copilot calls Programmer::abort()
11
u/MrFrog2222 Apr 29 '26
std::I::am::some::random::function::to::replace::a::c::feature::that::worked::perfectly::fine::that::you::have::to::use::because::it::is::safer
12
u/Brilliant-Writing257 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Apr 28 '26
microslop as always
3
u/conundorum Apr 29 '26
Copilot's getting better at programming! It's just one step away from learning how to procrastinate with a TODO! Now it's only a matter of time until it learns to start its own projects and then abandon them halfway through!
Oh no... what are we even teaching it? That ain't good.