Ways to Use ChatGPT to Learn Code. Describing vocabulary and code, suggestions for improving code, finding resources with ChatGPT all very useful. Generating code can be dangerous - it makes incorrect code and in some cases can be considered plagiarism.