Coding with AI is a game of poker
You've probably been there. You gave a prompt to AI, the output works, you shipped the feature, then two weeks later, something breaks in a way you didn't see coming. Or a moment where you asked th...

Source: DEV Community
You've probably been there. You gave a prompt to AI, the output works, you shipped the feature, then two weeks later, something breaks in a way you didn't see coming. Or a moment where you asked the right question and the AI handed you something genuinely brilliant. That's what got me thinking, coding with AI is a lot like playing poker. In a game of poker, the player gets a set of cards at the start. Some hands are clearly strong, while others might seem weak. But the game isn’t just about the cards. It’s about how you play them For a beginner, the game can feel like a gamble. Should they fold? Should they raise? Is their hand even good enough? But some players can turn the tide into their favour. They pay attention to how others are playing, decide when to take risks, when to step back, and sometimes even win with cards that do not look promising at all. This is what working with AI looks like. LLMs will hand you solutions, sometimes clean and elegant but sometimes brittle and wrong.