235
In case Copilot was too much work
(lemmy.zip)
Post funny things about programming here! (Or just rant about your favourite programming language.)
lol, that example function returns
is_prime(1) == true
if i'm reading that right"hey AI, please write a program that checks if a number is prime"
Brave new world, in a few years some bank or the like will be totally compromised because of some AI generated vulnerability.
Well it's only divisible by itself and one