We can see people on internet posting their amazing products generated with help by AI. While I don’t deny their achievement. As a developer currently using AI in daily job, I want to share how I failed several times with it.
Move very fast, break everything Link to heading
I had a new idea and I wanted to immediately make a prototype. So I run my gemini cli and start prompting my requirements. So far so good, it did almost everything right from setting up a NodeJS project and start coding a simple layout for me. It helped me run all commands to install packages, start the code and check for any errors returned. If anything bad happened, it will help me fix that as well.
But suddenly it ran into a loop trying to fix an error. I tried every possible
solution and even said it was frustrating with that error. But as a supportive
assitant, and I don’t want to touch whatever written into the code base, I let
it keep going until it find a solution. It decided to revert any changes. Good
idea, I would do that too. So it show me the command git clean -f -d -x, I
accepted. And BAM, everything got reverted. But wait! Everything. I didn’t
commit any thing since I started vibe coding. So any good progress was also
wiped.
At least it didn’t take me too many hours to write a line of code. So I was happy to start over with a lesson learned.