By “good” I mean code that is written professionally and concisely (and obviously works as intended). Apart from personal interest and understanding what the machine spits out, is there any legit reason anyone should learn advanced coding techniques? Specifically in an engineering perspective?
If not, learning how to write code seems a tad trivial now.
No, because that would require it being trained on good code. Which is rather rare.
If it is trained on Stack Overflow there is no chance.
It’s training on practically all code that exists. It has plenty of good examples, and plenty of junk examples.