I hate to beat a dead horse, but this is one big reason why we use agile, rather than developing in a series of cram sessions. The latter isn't sustainable, over a long period of time.
Remember that life it LOOOOOOOOOONG.
I'm with nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft on this - you have to really be conscious that it's a marathon and act accordingly.
Recently, it's helped me to think of life more explicitly as chapters. I've still got a lot to write so panicking about where I am now does me no good.
nostr:note10fp3r9k5lg9djrn983f6av5gptn0wt5hlrpff6y4evq6ls46csnsjc85ep
Discussion
People always act like I'm just being a QA killjoy, but I've seen developers furiously hack away and then literally fall into a heap, right off of their desk chairs. Just boom, he's out.