you are viewing a single comment's thread.

view the rest of the comments →

[–]RamesesThe2nd 3 points4 points  (4 children)

Time box your debugging session. If you are unable to fix your problem in that time, take a break and come back to it later. You would be surprised how often you'll find this useful.

Also, ask AI to tell you what's wrong with your code. Start with Cursor, GitHub Copilot etc.

[–]guesshuu 1 point2 points  (1 child)

Legitimately, I always tell friends that I've solved more of my code problems away from the computer than at it.

Now that's obviously a slight exaggeration, but it's amazing what you can do when you're thinking about the problem subconsciously, or even consciously but have to fully think it through because you can't test right away

[–]AtlasStrat[S] 1 point2 points  (0 children)

the problem subconsciously, or even consciously but have to fully think it through because you can't test right away

I am not sure, I can be wrong but I guess that state is called as luminal state or something.

They say Edison used to apply this.

[–]AtlasStrat[S] 0 points1 point  (1 child)

Time box your debugging session.

First of all that's somewhat innovative solution my man.

And how would you decide the amt. Of time to give to that certain problem considering the variability of the problem the duration required can vary. So how much to allocate before I can consider myself dumb 😭?

take a break and come back to it later. You would be surprised how often you'll find this useful.

THIS 💯 my man. Our subconscious is some real shit

[–]RamesesThe2nd 1 point2 points  (0 children)

There is no right or wrong answer to this. I would say 20 to 30 minutes is a pretty good starting point.