Hi HN, I have constant fear whenever I start a project. Recently, I started to try to code a game from scratch. This was because I believed I wasn't improving at work, since the projects are very similar every release.
Every time I make progress on any side project, self-doubt and fear creep in. It demotivates me from working. Usually it starts when I hit a snag in development, either a bug I can't figure out, not being able to decide how to design something, a major refactor is needed, or the realization I have to learn a lot before proceeding. I know logically everyone has to go through this and I need to push through, but my mind focuses on failure so much that it cripples my ability to try and complete anything. This is compounded when I see someone else's success on a similar project, I get even more demotivated and start to believe in my own inferiority.
This same fear makes me not want to practice leetcode, and thus stops me from trying to pursue another job. Does anyone have any coping tips? I just want to improve my skills and enjoy coding again.
"Fear is usually based in an abstract concern. Try to make it more concrete. What are you actually afraid of? For example, you're probably not actually afraid of losing your job, but losing your paycheck. But you're not actually afraid of losing your paycheck, you're afraid of not paying your bills. But you're not actually afraid of not paying your bills, you're afraid of being evicted. But you're not actually afraid of being evicted, you're afraid of where you'll live afterwards. And then you realize you haven't actually thought about this situation, so it's just an abstract worry.
So your entire fear base is based on this abstract fear of "What will I do? I'll be screwed." If you dig into it more, you'll find concrete solutions. You might realize you have lots of savings so getting evicted due to not paying rent is really unlikely. And if you do get evicted, you can just go crash at a friend's place while you figure out your next steps. And worst case if no next steps happen, you can live with your parents. Etc etc.
I often find when doing this exercise is that what I'm actually afraid of is very unlikely to happen. It's the worst version of the worst scenario. And even if it does happen, it's actually not that bad and I can handle the situation just fine."