As I mentioned in one of my previous articles, I started using ChatGPT in my coding projects. After a few days, I got used to asking and refining my queries so that the returned function was “almost” correct. After this exercise, I am more sure than ever that this system will speed up development, but it can’t replace the developer. The functions returned are almost never copy-paste, but most of the time, they are 80% correct.
Here’s some of my tips from coding. I’ll be expanding it over the next few weeks:
- Explain the question clearly, as the quality of the input really reflects in the quality of the output.
- You can modify existing code and ask how ChatGPT to improve it
- Ask ChatGPT to debug code by giving it the error message and the function. This saves a visit to Stack Overflow
- Ask ChatGPT to write test cases
- Ask ChatGPT to write documentation
I’ll be keep exploring this space and will probably update this list but for now, coding with ChatGPT gives me 3-4x boost. Happy coding!
If you like what I write, consider subscribing to my newsletter, where I share weekly practical AI tips, write my about thoughts on AI and experiments.
This article reflects my personal views and opinions only, which may be different from the companies and employers that I am associated with.