Reminds me of Hemingway's "Write drunk, edit sober."
I can code with a few drinks in me; in fact the activity of coding seems to reduce the amount I drink (I'm a functioning alcoholic).
It's decades since I drank during working hours. In my early career in the City, it was the custom to drink at lunchtime. Those days are passed.
Not sure about producfion code though, the values are different
So maybe write drunk, edit sober does work