✅3 simple ways on how I use AI as a software engineer at Google in my day to day life.
✅3 simple ways on how I use AI as a software engineer at Google in my day to day life.
1️⃣. Understand Faster
Whenever I pick up a new feature or work area, I ask AI to explain the code flow, tell me the services involved and generate sequence diagram.
The main thing I ask for is the exact files and code links of the flow. Then I verify every step, it’s still some manual effort but I am sure of my understanding, I gain the knowledge for future and am 100% confident to make any design choices.
2️⃣. Code Better & Faster
AI is great at writing code. But it might skip some details, like sometimes a function may already exist in the hierarchy but it defines it again.
I usually avoid it with the first step- understanding things in and out. I also prompt AI to review the code as a lead engineer.
The same goes for tests, there can be issues. I always make sure to list down all the edge cases I can think of. Then I compare that checklist against the generated tests to make sure nothing is missing. I once wrote 45 test cases for a 8 line change.
3️⃣. Write Docs Faster
Take design doc for example: I attach all reference docs where I got all the info from & a design template & then I turn on voice mode and just talk and explain my thought process.
I get a really good draft and starting point. From there, I iterate and if it’s not working out in 5 prompts I write some sections manually(great for long term memory).
For me, AI really helps me with everything, has made me so much productive and saves me a lot of time.
There are many other ways I use AI, for example custom agents etc. Let me know in the comments if I should share that next.
#AI #SimpleUseCases #Productivity