Learning to code in the age of AI