zlacker

[return to "What do you visualize while programming?"]
1. sinuhe+273[view] [source] 2024-10-18 16:52:35
>>dillon+(OP)
When working on a hard problem, I often had to visualize how the algorithm works, data moving there, changing this, replacing that. When I debug a tricky problem and I still have not figured it out yet, I have two options: either systematically note down what the code is going through, or keep the problem in the back of my head and sleep over it. More often than not, the solution will present itself after a while if I still bother with the problem. I reckon I can not solve all problems like that, but when my mind refuses to dig in, that is often the only effective way to solve the problem. Pushing harder only wastes time and risks saturation.
◧◩
2. ljdtt+l83[view] [source] 2024-10-18 16:59:50
>>sinuhe+273
That really resonates with me! I’ve found that when I’m up against a tricky problem, the solution often pops into my head when I’m not actively thinking about it—whether I’m sleeping, going for a walk, or just doing something completely different. It’s like the answer appears out of nowhere after I’ve stepped away.

I’ve always wondered why this happens. Is it just how our brains work in problem-solving mode? Does anyone know of any articles or studies that dive into this? I imagine it’s not just a programming thing, but a general part of solving complex problems.

◧◩◪
3. deadly+uK3[view] [source] 2024-10-18 21:28:16
>>ljdtt+l83
There is a free coursera course I am doing, where exactly this phenomenon is explained as diffuse vs focused thinking by neuroscientists.

Here is the link: https://www.coursera.org/learn/learning-how-to-learn/

[go to top]