photo_Pawel/Getty Images
One of the more intriguing discoveries about ChatGPT is that it can write pretty good code. I first tested this out in 2023 when I asked it to write a WordPress plugin my wife could use on her website. ChatGPT did a fine job, but it was a simple project.
Also: The best AI for coding in 2025 (and what not to use)
So, how can you use ChatGPT to write code as part of your daily coding practice? Here's a quick summary:
ChatGPT can produce both useful and unusable code. For best results, provide clear and detailed prompts. ChatGPT excels in assisting with specific coding tasks or routines, rather than building complete applications from scratch. Use ChatGPT to find and choose the right coding libraries for specific purposes, and engage in an interactive discussion to narrow your options. Be cautious about who owns AI-generated code and always verify the code's reliability. Don't blindly trust the generated output. Treat interactions with ChatGPT as a conversation. Refine your questions based on the AI's responses to get closer to the desired output. Paid-tier users gain access to some additional features for more comprehensive coding support, including Deep Research analysis and Codex full installation coding.
Now, let's explore ChatGPT in considerably more depth.
What types of coding can ChatGPT do well?
There are two important facts about ChatGPT and coding. First, the AI can write useful code.
The second is that the AI can get completely lost, fall into a rabbit hole, chase its tail, and produce unusable garbage.
Also: Tech prophet Mary Meeker just dropped a massive report on AI trends - here's your TL;DR
... continue reading