Re:Ask HN: How to improve problem solving and reasoning skills
by ayEl on Wednesday January 18, 2017 @12:40PM
(#13428355)
Thanks for your advice, I'll experiment with this method.
And yeah that's actually how I used to find solutions: by accident. I just keep tweaking the code and running it until it gives the solution I want.
I never really considered this a problem, but I'm glad I'm aware of it now, it's better late than never.
You can improve your reasoning skills by fixing bugs. First observe the bug, try to make a hypothesis. Try to support it by reading the code (do not run it, don't use a debugger at this point). Once you have a plan, find evidence that support your theory. Once your theory is right, find a solution, and answer the question "why".
It will take time, but you will improve over time. For me, the key is patience.