Sleep. Best side task for your brain. How many times has this happened to me? You struggle with a feature or a bug, you think about it, you weigh the pros and cons for hours... because you don't want to start something that will set you back. You're tired, but you don't want to go to sleep until you've at least made a decision for tomorrow. Go to sleep. Now. Then you wake up knowing immediately what to do. You hardly…
What I have noticed is that often, what sleep or rest gives me isn't so much a new insight but just the gumption to make a decision or grind through what I know needs to be done.
Developer's block
71–80 of 106 posts
Re: Developer's block
#72Of all the uses of LLMs, this is the most useful to me. Being able to force a minor draft that I can begin tweaking to overcome dev or writers block.
Re: Developer's block
#73Re: Developer's block
#74Re: Developer's block
#75"Ironically" because I usually rewrite almost everything it generates (sans the file and class names, sometimes). But when I describe the idea enough to give Claude some chance of implementing it, I refine it and start planning the high-level implementation. Then the file of LLM slop, even though I have to rewrite most of it, is much less overwhelming than a blank file.
Re: Developer's block
#76Earlier quoted context omitted.
Good exercise also contributes to good sleep. I sleep like a log after a good bike ride or an evening out swing dancing, but if all I did was sit at my desk all day then it’s a lot more likely I’ll be tossing and turning or doom scrolling into the wee hours.
Just had a very tiring long run yesterday. Spent the night still scrolling haha.
Re: Developer's block
#77Re: Developer's block
#78> Release early, release often I’m big on this. I find it efficacious to have an integrated product going as soon as possible, even if it’s a field of stubs. It’s my experience that I almost never know what the end product will look like, no matter how much upfront planning time I devote, so being able to test and iterate the whole system, as soon as possible, is pretty vital. It’s also one reason that I like to use…
Your linked post about test harnesses is outstanding; thanks for sharing!
put it all in the harness. same run every time, modulo races, and a lot less tripping over magic you can't always remember or show to someone else.
Re: Developer's block
#79I like extreme cycling, and it helped me solved many problems about development.
When I'm riding my bike and listening to music, especially when freely imagining and designing my product in my mind, I am very relax. Many aspects of my products were designed while I was riding.
Cycling is a great form of exercise. It not only helps you strengthen your body, enjoy the scenery, relax your mind, relieve stress, and adjust yourself, but it can also spark plenty of inspiration. If you’re under heavy pressure or working on a product, I highly recommend you go cycling regularly.
Re: Developer's block
#80Sleep. Best side task for your brain. How many times has this happened to me? You struggle with a feature or a bug, you think about it, you weigh the pros and cons for hours... because you don't want to start something that will set you back. You're tired, but you don't want to go to sleep until you've at least made a decision for tomorrow. Go to sleep. Now. Then you wake up knowing immediately what to do. You hardly…
I agree that sleep and exercise are key. Some have pain and/or insomnia waking them up at night with the inability to get back to sleep quickly or at all, and some have pain/injuries that make exercise less fun. Telling us to sleep and exercise is like telling homeless and starving people to get off the streets, find a job, eat a good dinner, and buy a house. It sounds nice, and we’ll do our best, but the world you l…
Don't be such a victim. Not everyone is going to think of your exact situation in every sentence they write.