What do you do when programming sucks?(blog.klimczyk.pl) |
What do you do when programming sucks?(blog.klimczyk.pl) |
Trying to push through with coding doesn't work.
Another trick would be to step out of the editor and hit the white board while on your feet. Programming isn't typing and if you are trying to figure out a problem at the keyboard theres a good chance you already failed (unless your learning the language). Get it on paper/chalk/whiteboard and reason about it, talk about it with someone or a rubber duck.
If you're in a place that forces you into insane hours for long stretches, start looking for an alternative. When you find a decent one, take it.
Eat when you are hungry.
Sleep when you are tired.
Program when the time is right.
Walks in the woods are great for thinking and problem solving.