How I use ChatGPT as a software engineer
People are sleeping on this shit lmao
2 min read
For the past few weeks, I have been using ChatGPT daily. I use it for many different things and it has helped me in multiple ways. Too many people sleeping on it honestly. I got it already opened on both my personal and work machine every single day, always ready to take advantage of it whenever I could use it. 😈
I'm currently building a note-taking app. I'm using CodeMirror as the editor. I had a bug where every time you changed the content, the editor would lose its focus. The issue was that the editor got recreated every time the content changed.
The solution was to use a
useRef for the content. If you don't know what that is, don't worry, the point here is that ChatGPT found the bug for me. I ended up having a conversation with it about how we can solve it, and we ended up with
Use ChatGPT to find bugs in your code whenever possible.
Every time I'm thinking about something and want feedback, I go to ChatGPT. Often it does require sharing context and explaining the reasons why I prefer an alternative over something else.
Other times I will ask ChatGPT to ask me questions, give me suggestions or challenge me and play devil's advocate. 😉
I'm using ChatGPT while I'm learning. Recently, I finished a course on Distributed Systems. Every time I had questions, I would ask ChatGPT and have a conversation with them.
Another thing I would do is let ChatGPT explain the topic in-depth to me before I begin watching the video. This was quite useful when learning complex topics in Distributed Systems. I would even let it summarize things for me and use that as notes.
The beauty of ChatGPT is that you can have a conversation with it. You can tell it what to do, and it will do it right away.
ChatGPT is amazing. I'm stoked for the future of AI. It's fascinating how it and future AI tools will be able to accelerate you in numerous things.
I couldn't be happier that I get to save time.