Ex-CISA head thinks AI might fix code so fast we won't need security teams 😆️️
(www.theregister.com)
Even in Python you have to keep it siloed. You have to drip feed it pieces because if you give it the whole script it'll eat comments, straight up chop out pieces so you end up with something like
def myFunction():
# ...start of your function here...
replacing actual code.