Just tried ChatGPT and asked it write an apex class. This blew my mind. The output included a trigger, a class and test class. I can only think of many use cases where this can be leveraged. A sign of times to come.