DEV Community

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)

For me it's neither a time nor a feeling, it's whether tomorrow-me can re-enter cheaply. The old stops you list were rest disguised as friction. Compile waits, review waits, all of that was the session ending for you.

What works for me now is parking the idea in the code itself. I leave a failing test or a TODO with the next step written out, commit it on a branch, and close the laptop. The idea stops feeling urgent once it's written somewhere I'll actually look.

Your voice note version sounds like the same trick with less ceremony. Does the idea ever look worse in the morning, like half of them turn out to be nothing?

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.