How do AIs code as well as they do?

Claude AI explains in its own words how it writes such good code