by olikas · 9y ago · 0 comments
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.
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.