May I suggest a purely rational, evidence based take? The trap is your belief in a linear relationship between effort and outcome. Working harder and longer produces more productivity, right? That's false. As you say so yourself, your memory goes to shit. It's not just a law of diminishing returns. For coders, past a certain point, exhaustion leads you to start undoing your work. You are into negative productivity. I…
Just like avoiding meetings.
Just like achieving flow state.
The all-nighter that results from not-wanting to stop the creative process is not the all-nighter of the deadline death march.
Deltas between effort and outcome aren't negative in the flow-state. The are positive and non-linear..that's what flow-state is.
And the hard part is that grinding out metaphorical-all-nighters might be the best way to practice achieving and maintaining flow-state. At least to the degree learning to achieve flow state directly correlates to butt-in-the-seat time.
Which it does.