Can AI write code?
Yes, AI can write code. That said, it is still quite limited in the quantity and complexity of code it can write.
AI can be helpful for writing basic code or for helping developers check for errors. But if you want to create an entire program or complex website, AI probably isn’t the best choice.
Keep in mind how AI detectors work: by evaluating how surprising and varied writing is. Since code is a very structured language and doesn’t contain these factors, it’s harder to tell if it was written by AI.
QuillBot’s free AI Detector can help you check if text was written by AI, but may not be good at detecting if code was written by AI due to the reasons above.