Lurker News

Comments (1,272) 260 threads

Show all comments

Showing thread 22 of 260

patwolf3 replies#
I wonder if there's any potential for Copilot to suggest malicious code because it's been trained on an open source projects containing intentionally malicious code.
napolux1 reply#
or broken code :D
ukoki1 reply#
The averageRuntimeInSeconds example does not check for division by zero so it creates broken code at least 20% of the time based on the examples on the homepage :)
napolux#
nothing more than what I was expecting :D
akersten#
Maybe not malicious per se, but certainly I'd be concerned about seemingly-correct but actually-wrong code being suggested. Considering how often the top StackOverflow answer is slightly wrong or how often antipatterns crop up across various projects, I'm sure the training data is nowhere near "perfect code" - implying the output cannot be perfect either.
dgb23#
Since it is per line I highly doubt it. I think of it as intellisense+. You select suggestions that you would have written anyway.