News for hackers. Stuff that matters.
Re:What to do when stuck on a problem? Sleep. by mtkd on Sunday September 02, 2012 @08:40AM (#4466872)
Anything that takes you away from the problem will help.

Take a shower if you don't have long.

I recommend walking before taking on a big problem - even if you're not stuck.

A 1h walk means you are unable to code your first solution, by the time you get back you'll be 4 iterations on in your head - you've just saved yourself 2 days.

Re:What to do when stuck on a problem? Sleep. by genwin on Sunday September 02, 2012 @09:55AM (#4467013)
I too find that planning code while in the shower or during a walk is much more effective than when at the computer or whiteboard.
Re:What to do when stuck on a problem? Sleep. by Rickasaurus on Sunday September 02, 2012 @09:47PM (#4468815)
Even just going to the bathroom without the smartphone can be great for ideas. Nothing beats shows though!