DEV Community

Zsolt Csizmadia
Zsolt Csizmadia

Posted on Originally published at onelastprompt.com

With AI, the coding session never ends by itself

Coding used to end by itself. You hit a bug you could not solve. You waited for a review. You ran out of steam and closed the laptop.

With AI tools none of that happens. There is always a next step, and the next step is always one prompt away.

The numbers say I am not the only one

LeadDev's Engineering Leadership Report 2026 asked engineers about their hours. 45% said they work more hours a week than a year earlier, up from 38% the year before. Among staff and principal engineers it went from 28% to 53% (LeadDev).

It is a survey, so it cannot prove that the tools are the cause. But a Harvard Business Review study points the same way: people with AI tools take on more work, move faster and switch between more tasks (HBR).

The usual advice

The advice in the LeadDev article is good: set a goal and a hard end time before you open the tools, because the AI will never tell you the session is done.

I tried exactly that. It did not hold.

Why the hard stop failed for me

At 11 pm it was not the tool that kept me at the desk. It was the idea I just had, and the fear that it would be gone by morning.

A hard stop asks you to walk away from that idea with nowhere to put it. So you bargain with yourself. One more prompt, just to get it down. Then one more, to see if it works.

What finally worked was giving the idea a place to wait. After my closing time I say the idea out loud, it gets saved, and I look at it in the morning. Most of them do not survive breakfast: in my 30-evening test, 22 of 34 did not.

The end time takes care of the tool. Something else has to take care of the idea.

You don't need anything special

A fixed end time and a notes file get you most of the way. Write the idea down in one sentence, close the laptop, and read it again at 9 am.

The machine can work the night. It can build, test and wait with the result. You are the part that needs the stop, and nobody is going to set it for you.

What ends your coding session today: a time, a feeling, or nothing at all?


I build One Last Prompt, an iPhone app that locks your AI apps in the evening and keeps late ideas until morning. This post was originally published on onelastprompt.com.

Top comments (1)

💬 ชาวเน็ตแห่แชร์: zsoltcsizmadia/with ai the coding session never ends by itself eko - สรุปดราม่าล่าสุด
 
smtahosin profile image
S M Tahosin • • Edited

It's not a time thing, it's not even a feeling thing, it's whether tomorrow-me can get back in there cheaply. What you referred to as your stops list were just rest in disguise. Compiling and reviewing were both the end of your session. What works for me is parking it in the source code itself. I park it either as a failing test or as a TODO, with the next action documented, I commit it to a branch and close the laptop. Once I document the idea somewhere that I'm guaranteed to look at it later, the urgency evaporates. Your voice notes version feels like the same trick with less ceremony. Do your ideas sometimes look worse in the morning, like half of them turn out to be nothing?