After reading a colleague’s blog post about their experience using ChatGPT for coding, I was motivated to share my own experience as a programmer as I work on different projects and use multiple programming languages. While coding may not be a part of my daily routine, I find it relatively easy to conceptualize what needs to be done. However, when it comes to writing the code, I often find myself doing a lot of research and testing to figure out how to properly implement my ideas.
Use cases for chatGPT
One of the most straightforward ways I’ve found to use ChatGPT is by asking it to create functions, such as “Create a function that receives a date and returns the day of the year.” This not only speeds up the coding process but also proves useful when working with a new language that I may not be familiar with. ChatGPT provides a more precise and faster solution than searching for answers on Google.
Another way I’ve found ChatGPT to be beneficial is by soliciting feedback and improvement suggestions for the code. By doing so, it’s almost like having a peer review my code. When thinking about how to solve a particular problem, I develop a train of thought and start writing, but I often feel that there is room for improvement. ChatGPT can provide suggestions in seconds, helping me ensure that my code is optimized, streamlined, and adheres to best practices.
It’s important to note that ChatGPT isn’t perfect, and there may be instances where its suggestions fall short of providing the correct answer. However, as Justin noted in his blog post, it provides a useful blueprint for how to approach a particular coding challenge, often covering about 95% of the expected results.
In conclusion, I have found ChatGPT to be a valuable tool in my coding journey. It saves time, provides helpful hints, and is particularly helpful when working with unfamiliar languages. However, I also recognize the importance of continually developing my programming knowledge, the missing part that chatGPT is not able to provide are the real challenges that we as programmers must focus on.