I wrote the story about Rust where the programming concepts were hard to grasp and most just give up the first time trying to learn Rust. Normally months or years later, it clicked the 2nd time around for whatever reason.
Even if you design the whole thing today, wait at least till tomorrow: you'll have a much better solution.
It's the part of the mind which is always operating.. A sure-fire tactic is to ask yourself a question right before bed, and allow it to do it's thing
It is possible to communicate with the subconscious. In fact, it is always communicating with us. Our society is so focused on the conscious mind that we tend to not notice. This is what anxiety is. The subconscious is trying to express an unmet need. The medical field tries to suppress and numb the symptoms instead of listening to your body.
Source: Nobody told me this. I discovered this while dealing with massive personal problems over many years. Operating under this assumption is how I overcame serious addiction, anxiety and depression. Meditation is a good way to calm to conscious mind so you can "hear" your subconscious and body.
This could have been down to a fresh brain but the speed at which I would solve the problem in the morning and pretty much just know the solution I’m convinced I was solving the problem in my sleep and then basically just writing it down when I woke.