How do you cope with programmer's fatigue?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

LonelyProgrammer
Forum Contributor
Posts: 108
Joined: Sun Oct 12, 2003 7:10 am

How do you cope with programmer's fatigue?

Post by LonelyProgrammer »

I tried to remain calm, I swear. But everything conspires against me. A forgotten include here, a wrong return value there and waiting agonizingly for the log file to be written. Testing this puppy is a multi-step nightmare. You have to include a couple of dummy records (automated of course), execute the PayPal Mass Payment API and keep checking the log file. And because it's a remote execution of a PHP file, you don't see the error messages. Still, I fixed one bugs after another. Then the deed is done.

Even though it takes only about 2 hours, I feel exhausted. I don't even want to look at another line of code ever again (at least for the time being). I have just graduated and shuddered. If testing drains so much out of me for a freelance job, how would I ever cope with a 8 to 5 desk job coding away?

Oh experienced gurus, this grasshopper here seeks advice.
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Re: How do you cope with programmer's fatigue?

Post by mintedjo »

Like the rest of us - coffee.
Check out http://www.thinkgeek.com/caffeine/ for interesting ways to get your daily overdose of caffeine.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: How do you cope with programmer's fatigue?

Post by papa »

Fresh air, red bull, music, coffee, a cig... :)
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: How do you cope with programmer's fatigue?

Post by jaoudestudios »

More coding :D and coffee :wink:
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How do you cope with programmer's fatigue?

Post by onion2k »

Fresh air, plenty of water, and regular breaks from the computer.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: How do you cope with programmer's fatigue?

Post by josh »

Um I was in the same boat for 4 years, then I started doing TDD. Real programmers write programs that help them program, write tests that do your debugging for you
http://www.simpletest.org/en/start-testing.html

Oh and also Mt Dew
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: How do you cope with programmer's fatigue?

Post by daedalus__ »

Video games do the same thing to me. Music, code, and work don't though? I just stop playing.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: How do you cope with programmer's fatigue?

Post by josh »

Stop? I know of no such concept.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: How do you cope with programmer's fatigue?

Post by daedalus__ »

Hahaha. They bore me super fast. I'd rather work.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: How do you cope with programmer's fatigue?

Post by josh »

Haha I thought you meant stop coding, gotchya, yeah I used to be a video game junkie, now I find it more entertaining to study the algorithms that made the games work when I was a kid :D
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: How do you cope with programmer's fatigue?

Post by Chris Corbyn »

There's a dude where I work (no joke) who puts a Berocca tablet (one of those hi-vitamin efforvessent things) into a glass of red bull and just drinks that.

Personally I try to avoid going hard on caffiene or energy drinks. I'm sure red bull will be banned in future for being dangerous :P And chain-drinking coffee is a slippery slope (you just get tireder overall).

I do drink coffee, but I tend to limit myself to one a day (just habit now), usually in the morning. I drink tea too, but usually it's just one cup a day, in the afternoon.

I used to be terrible for chain-drinking tea and coffee and I can definitely say that I am far less tired overall these days.

I cycle to work and back too which I think makes a difference. Kick-start your day by getting your heart racing (no, not by asking your wife for a bit of "how's your father") and inhaling lots of fresh air!

So err, yeah, less caffiene, more exercise :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: How do you cope with programmer's fatigue?

Post by alex.barylski »

You'll feel most fatigued when you realize your not getting paid for the labour you put out.

Don't be cheap when charging. You don't do anyone any favours, yourself included.

Working a 9-5 means you can go home at days end...freelancing means you constantly at the beck and call of your clients. Set some ground rules right out of the gate and be clear about it.
fontguy
Forum Newbie
Posts: 1
Joined: Mon Jan 12, 2009 5:14 pm

Re: How do you cope with programmer's fatigue?

Post by fontguy »

As you gain more experience, you're testing will go quicker (and you'll figure out problems easier). But you're human, so you need regular breaks. Go for a walk or do 10 minutes of exercise. It'll relax you and make you think more clearly.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: How do you cope with programmer's fatigue?

Post by JAB Creations »

fontguy is right...I mean when I first came to DevNetwork I was really frustrated and it didn't help my communication skills at the time which I regret may have negatively effected my social interactions with some folks here.

But over time I've noticed I don't make the same mistakes, my mind adapts as those neural connections and synapses are created and strengthened...Red Bull helps too!

Just think...you know much more now then when you first started out...whenever that was of course. Just imagine what you'll be able to do in another year or two. Hell I'm finally actually making almost entirely on my own merit (with some help from the folks on this forum every now and then) stuff I only imagined a few years ago. :)

Also get the hell away from the computer...just walk away for five minutes and relax your brain.

Ever notice when you day dream for a few minutes? That's your brain creating those neural connections and synapses. You may not know it but day dreaming is the mind's way of reinforcing what you just learned. :mrgreen:
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: How do you cope with programmer's fatigue?

Post by josh »

JAB Creations wrote:Ever notice when you day dream for a few minutes? That's your brain creating those neural connections and synapses. You may not know it but day dreaming is the mind's way of reinforcing what you just learned. :mrgreen:
I believe that too and agree, and I think thats part of what dreaming is.. but do you have a source or are you just speculating? Is this based on some real science or are you just saying?
Post Reply