Home News Transform ChatGPT into Your AI Coding Power Tool to Double Your Output

Transform ChatGPT into Your AI Coding Power Tool to Double Your Output

April 10, 2025
ThomasScott
38

Transform ChatGPT into Your AI Coding Power Tool to Double Your Output

I've been using ChatGPT to boost my programming productivity for over two years now, and it's been a game-changer. There was this one time when ChatGPT helped me pinpoint a tricky bug, and that's when I really saw the potential of AI in coding.

A lot of folks seem to think AI is like a magic genie that can whip up a whole program or app from a vague wish. But let me set the record straight: AI is more like a power tool. Sure, you could use an old-fashioned saw to cut wood, but a table saw will get the job done much faster. Neither tool builds furniture for you; they just help you build it. Similarly, AI won't write your code for you, but it can certainly help you write it more efficiently.

I can't give you exact numbers, but I'm pretty sure ChatGPT has doubled my programming output. It's like having a trusty assistant by my side, helping me get twice as much done.

I've been using ChatGPT Plus, which costs $20 a month, mainly because it used to have the superior GPT-4 model for coding compared to the free version's GPT-3.5. Now, both versions use a variant of the GPT-4o model, so their coding capabilities are on par. But the free version limits your queries, which can disrupt my workflow, so I stick with Plus.

I've tested various large language models (LLMs) against my real-world coding tasks, and only a few, all based on ChatGPT's LLMs, have been up to the challenge. There are plenty of cool AI tools out there for programmers, some even free, but they're only helpful if the code they produce actually works. Thankfully, AI coding capabilities are only going to get better with time.

Reflecting on my projects, I've come up with some practical tips for getting the most out of an AI programming partner. Let's dive in.

1. Break Down Tasks into Small Jobs

AI struggles with complex instructions, especially for product design. But it excels at handling small, well-defined tasks.

2. Treat the AI Like a Slack Chat

Think of your interactions with the AI as quick, back-and-forth messages in a Slack chat, not slow email exchanges with a colleague.

3. Build Complex Routines Iteratively

Start with a simple task, and once that's done, add more elements one by one. I often copy and paste the previous prompt, tweaking it as I go, to get the code I need.

4. Test Every Code Snippet

Never assume the AI's code will work. Always test it in your project to see how it performs.

5. Use the Debugger

For a deeper test, don't shy away from using the debugger to step through the AI-generated code. Watch the variables and see exactly what the AI is doing. It's fine to let the AI write code snippets for you, as long as you check every line.

6. Keep AI Separate from Your IDE

Many coding tool vendors are pushing integrated AI features, but I prefer using ChatGPT as a standalone tool. I don't want an AI messing with my primary coding environment.

7. Cherry-Pick Code Lines

You don't have to use everything the AI generates. Just like you might pick and choose from Stack Overflow, you can do the same with AI-generated code.

8. Avoid Proprietary Coding

AI LLMs are trained on general data and what they can find online. They don't know your unique application or business logic, so don't ask them to write code that requires that knowledge.

9. Provide Context with Examples

I once gave ChatGPT a snippet of HTML and asked it to add a text expansion feature. It returned HTML, JS, and CSS, and when I asked for more, it explained its choices. This worked because the examples helped the AI understand the context.

10. Use AI for Common Knowledge Coding

AI shines when writing code that uses common knowledge, popular libraries, and standard practices. It won't write your unique business logic, but it can save you time with library and API functions.

11. Ask for Short Snippets

Even if you only need a line or two, use the AI as you would any research tool to save time.

12. Tell the AI When Code Doesn't Work

AI often generates incomplete or non-functional code. Let it know what's not working, and ask for a revised version. It usually improves on the original.

13. Cross-Check AI Work

It's fascinating to see how different language models interpret the same code. You can even have one ChatGPT session check another's work.

14. Let AI Write CSS Selectors

CSS selectors can get complex fast. I often copy a block of HTML and ask for a selector for a specific part. It saves time, though you might need to iterate a few times.

15. Use AI for Regular Expressions

I hate writing regular expressions almost as much as CSS selectors. AI is great at generating them, though you'll need to test them.

16. Test Regular Expressions with AI

I use Patterns on my Mac Studio to test AI-generated regular expressions, but AI can help too. I feed a separate AI instance a regular expression and ask, "What does this do?" If the description matches what I wanted, I feel more confident.

17. Let AI Handle Complex Loop Math

Like CSS selectors and regular expressions, complex loop math can be tedious. AI is perfect for this. Just let it write the loop wrapper, then add your business logic.

18. Ask AI to Critique Code

I often feed AI-generated code back to the AI and ask, "What's wrong with this code?" It can highlight errors and suggest fixes, which I then ask it to implement.

19. Ask AI to Explain Code

Feeding code to the AI and asking, "What does this do?" can be enlightening, especially for code written by others. It saves time in reverse engineering.

20. Know When to Move On

If the AI can't get it right after two or three tries, it's time to start fresh with a new prompt. Sometimes, you just have to do it yourself.

21. Use Descriptive Names

The AI picks up intent from variable and function names, leading to better code. Using $order_date instead of $od helps the AI understand the context and makes the code more readable.

22. Read AI's Notes

The AI often provides notes before and after the code it writes. These can offer insights into its approach and suggest useful libraries or functions.

23. Revisit Code Snippets

If you need help with a specific part of your project, grab the relevant code, show it to ChatGPT, and ask for what you need. It can save you a lot of time.

24. Update Obsolete Code

I once had a PHP module with deprecated features. I pasted the code into ChatGPT, asked how to update it, and got a working solution.

25. Use AI for Unfamiliar Languages

When coding in a language I'm not an expert in, I ask the AI how to write what I need. For example, comparing case statements in PHP and Python can make writing unfamiliar code much easier.

Before you start using AI for coding, check with your company about legal issues related to AI-generated code. If you follow my tips, you'll be using AI for common tasks, not your unique business logic, so you should be able to retain copyright over your core code.

I write code for internal use or open-source projects, so I'm not worried about ownership issues with AI-generated snippets.

Have you used AI to help with coding? Any tips to add to my list? Let us know in the comments below.


You can follow my day-to-day project updates on social media. Be sure to subscribe to my weekly update newsletter, and follow me on Twitter/X at @DavidGewirtz, on Facebook at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, and on YouTube at YouTube.com/DavidGewirtzTV.

Related article
Streamline Project Management with PMotto's AI Task Creation Streamline Project Management with PMotto's AI Task Creation In the whirlwind of today's business world, effective project management isn't just helpful—it's essential for staying ahead. Enter PMotto, a revolutionary tool that's changing the game by using machine learning to transform how project managers handle tasks and make decisions. This article dives in
Floral Dresses Blend with Nature's Charm at ZSL London Zoo Floral Dresses Blend with Nature's Charm at ZSL London Zoo Step into a world where fashion intertwines with nature. This journey highlights the elegance of floral dresses set against the vibrant backdrop of ZSL London Zoo. Let's explore how these garments embody the essence of nature, seamlessly blending comfort and style in a mesmerizing setting.The Allure
<p>ChatGPT Officially Surpasses Google Search for Me - Here's Why</p>

ChatGPT Officially Surpasses Google Search for Me - Here's Why

It's worth noting that websites that block OpenAI's web crawler won't show up in search results, which means you might miss out on content from some of your favorite sites. However, OpenAI has established partnerships with reputable news sources like the Associated Press, Condé Nast, Dotdash Meredit
Comments (45)
0/200
JoseDavis April 11, 2025 at 12:01:24 AM GMT

Transforming ChatGPT into a coding power tool has seriously doubled my output! It's like having a super smart buddy who spots bugs I'd miss. Only downside? Sometimes it suggests solutions that are way over my head. Still, a must-have for any coder!

JerryMitchell April 11, 2025 at 12:01:24 AM GMT

ChatGPTをコードの強力なツールに変えることで、私の生産性が倍増しました!バグを見つけるのが得意で、助けになります。ただ、時々理解できない解決策を提案されるのが難点です。それでも、プログラマーにとって必須のアイテムですね!

ThomasYoung April 11, 2025 at 12:01:24 AM GMT

ChatGPT를 코딩 파워 툴로 변환하니 생산성이 두 배로 늘었어요! 버그를 찾아내는 데 정말 도움이 됩니다. 다만, 가끔 이해하기 어려운 해결책을 제안할 때가 있어요. 그래도 프로그래머라면 꼭 써야 할 도구죠!

StephenLee April 11, 2025 at 12:01:24 AM GMT

Transformar o ChatGPT em uma ferramenta de codificação poderosa dobrou minha produtividade! É como ter um amigo super inteligente que encontra bugs que eu perderia. O único problema é que às vezes sugere soluções que estão fora do meu alcance. Ainda assim, é essencial para qualquer programador!

RalphMitchell April 11, 2025 at 12:01:24 AM GMT

Transformar a ChatGPT en una herramienta de codificación potente ha duplicado mi producción. Es como tener un amigo súper inteligente que detecta errores que yo pasaría por alto. El único inconveniente es que a veces sugiere soluciones que están fuera de mi alcance. Aún así, es imprescindible para cualquier programador!

AbigailMiller April 11, 2025 at 8:37:01 AM GMT

Transforming ChatGPT into my coding tool has seriously doubled my output. It's like having a super smart assistant that never sleeps! That bug it helped me find? Absolute game-changer. But sometimes, it's a bit too chatty and I just want the code, you know? Still, a must-have for any coder!

OR