How do I learn problem solving skill in programming?
One of the biggest defects that I've is that I can't solve problems. Make a snake game? I've no idea how to proceed. Build a tic tac toe, I've no idea how to proceed. Build a arkanoid, I've no idea how to proceed. I read about them, I read the code, I still have no idea what is going on. I try to watch tutorial, I've no idea why are they doing it. I try to search stackoverflow, I don't understand why that solution works and how to develop that solution on your own.
Honestly, programming is unlearnable for me. How do I make it learnable?
8 comments
[ 3.4 ms ] story [ 42.8 ms ] threadSo here is one problem you do need to solve: find something that you do know how to do and put your energy and passion into that. (By the way, I cannot play a musical instrument either - and I have tried over and over again. Love listening to music, just cannot learn to play it).
Contrary to what this board, or industry legends might suggest sometimes, we didn’t all just open up a laptop one day and know how to code a complex system.
Part of it can be from learning more systematic approaches like the Design Recipe you learn from working through How to Design Programs and similar books.
Don't underestimate trying to work things out with a pen an paper first. Not so much writing code on paper, but just working through what the behavior is, or how to break down a task into simpler tasks.
It proves you understand the basic principle, not just a domain specific hack.
It also makes complex problems easier to discuss.
If you can't do this:
a) You don't really understand the solution.
b) You will be professionally handicapped by being unable to describe your work to a non-coder.