My Digital Garden

25 AI Tips to Boost Your Programming Productivity With ChatGPT

25 AI Tips to Boost Your Programming Productivity With ChatGPT (RSS, 2025)

rw-book-cover

Metadata

  • Author: security RSS
  • Full Title: 25 AI Tips to Boost Your Programming Productivity With ChatGPT
  • Category: #articles
  • Document Tags: ai/dev
  • Summary: Using AI like ChatGPT can boost your coding productivity by helping with small, well-defined tasks. Always test and verify the code it generates to ensure it works correctly. Remember, AI is a tool to assist you, not a replacement for your programming skills.

Highlights

    1. Give the AI lots of small jobs (View Highlight)
    1. It's helpful if you think of the bot as someone at the other end of a Slack conversation (View Highlight)
    1. For more complex routines, prompt iteratively (View Highlight)
    1. Test every little chunk of code the AI returns (View Highlight)
    1. Use the debugger (View Highlight)
    1. You don't need Al coding assistance built right into your IDE (View Highlight)
    1. Feel free to cannibalize lines of code from generated routines (View Highlight)
    1. Avoid asking the AI to do proprietary coding or use institutional knowledge it doesn't have (View Highlight)
    1. Give the AI examples to work on so it understands the context of your code (View Highlight)
    1. Use the AI for common knowledge coding (View Highlight)
    1. Feel free to ask for one- or two-line snippets (View Highlight)
    1. Tell the AI when the code it wrote doesn't work (View Highlight)
    1. Use one Al to check the work of another Al (View Highlight)
    1. Use the AI to write CSS selectors (View Highlight)
    1. Use the AI to write regular expressions for you (View Highlight)
    1. Use the AI to test regular expressions (View Highlight)
    1. Let the AI do complex loop math (View Highlight)
    1. Use "What is wrong with this code?" as a prompt (View Highlight)
  • I will often feed blocks of code, especially regular expressions generated by the AI, to the AI. It can be very instructive to see what the AI thinks is wrong with the code, often highlighting error conditions that the code doesn't test for. Then, of course, ask the AI to regenerate the code fixing the errors it found. (View Highlight)
    1. Use "What does this do?" as a prompt (View Highlight)
    1. Know when to give up on the AI (View Highlight)
    1. Be specific in your function and variable naming (View Highlight)
    1. Read the pre- and post-code notes (View Highlight)
    1. It's OK to later go back and ask for more help on a code snippet (View Highlight)
    1. Use the Al to help you rewrite obsolete code blocks (View Highlight)
    1. Use AI to help you write for less familiar languages (View Highlight)