A little from column A....
Kinda handy-dandy for prototyping but certainly not for production and probably not really for proper development. Let's say for example you want a simple but pretty login dialog, and you ask AI to get to work, but your AI has learned by looking at GitHub repo's which on the surface sounds ok right?
Two Possible Dodgy Scenarios...
1 - Then lets say a few months ago an unscrupulous scrote had dumped truck loads of dodgy projects with backdoor credentials embedded directly into the code that go cheerfully by the name "Secure Login Screen Project" into the aforementioned repos. AI then thinks "ok, seems legit" then builds out your shiny new project with those dodgy creds buried deep inside but you don't know anything about it.
2 - A more likely problem is than a noob chucks a really bad login form+code onto GitHub, does AI know any better? And lets say it's not just one bad example, and AI is learning from thousands of bad examples of coding.
You then gleefully push out your login screen to face the WWW and before you know it, you've pissed your entire database onto 4Chan and you're having to explain yourself to the boss or worse the board.
Now, that's just how I see it, maybe I'm wrong or there's mitigation against this sort of thing happening?