5
3 Comments

Coder's Block

I have been coding for a bit and came to a roadblock. Learning code for me has been difficult but I'm slowly getting there through many tutorials from youtube and other learning platforms such as Udemy.com. as it sits I have come to a "coders block" where i was coding last night and couldnt figure out how to grt something working but I dont only want to use tutorials.

My question is, how do you guys deal with coders block? I just cant think of anything to figure it out.

I have decided to basically start my project over (I wasnt very far). I'm guessing i just got confused because I was working on too many aspects of my game at once. The multiplayer chat is what I was having issues with.

Sorry for the confusion but thats whats going on in my head currently.

  1. 4

    Its not coders block - you are having problems debugging. You should just go ahead and learn how to debug; that's a part of coding also.

  2. 2

    Go and read something related to what your stuck on.
    Other people have done it and have explained it.
    You learn from others people code and processes.
    Don't insist on solving something 2 levels about what you done so far alone.

  3. 1

    but I dont only want to use tutorials

    You should use whatever resources help you get the job done efficiently. I have been writing code for 30 years and I still go to Stack Overflow for simple things I can't remember.

    decided to basically start my project over

    This is extremely common, don't sweat it. Generally the most important thing to get right is the data structures. If you get the structure of the data right then the algorithms will fall out naturally.

    cant think of anything to figure it out.

    Do some searches, look on Stack Overflow, describe your problem in detail to experienced developers and ask how they would solve it, look at open source code solving the same problem on GitHub, etc.

    Basically if you get stuck you need to do research.

  4. 2

    This comment was deleted 6 months ago.

Trending on Indie Hackers
Passed $7k 💵 in a month with my boring directory of job boards 35 comments Reaching $100k MRR Organically in 12 months 32 comments 87.7% of entrepreneurs struggle with at least one mental health issue 14 comments How to Secure #1 on Product Hunt: DO’s and DON'Ts / Experience from PitchBob – AI Pitch Deck Generator & Founders Co-Pilot 11 comments Competing with a substitute? 📌 Here are 4 ad examples you can use [from TOP to BOTTOM of funnel] 10 comments Are you wondering how to gain subscribers to a founder's X account from scratch? 9 comments