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 7 months ago.

Trending on Indie Hackers
I've built a 2300$ a month SaaS out of a simple problem. 19 comments 🔥 Roast My Landing Page 11 comments Where can I buy newsletter ad promos? 8 comments Key takeaways growing MRR from $6.5k to $20k for my design studio 6 comments How would you monetize my project colorsandfonts? 5 comments YouTube? How to start 5 comments