How do YOU cope with the stress of errors?
Moderator: Coders of Rage
-
- Chaos Rift Newbie
- Posts: 21
- Joined: Fri Jun 05, 2009 12:37 pm
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++ and C#
- Location: Great Britain, although I don't understand what's so great about it
How do YOU cope with the stress of errors?
Im sure we've all been there at some point, you're programming away on your latest project, you compile it and get 1 or more error messages. You don't know how to fix the problem and are getting increasingly frustrated with trying out possible solutions only to find they don't work, then ofcourse if you're really unlucky, it builds fine but crashes whilst running.
What I want to know is how do the people of The Chaos Rift deal with these situations, do you go and get a cup of tea and have a 10 minute break to cool off, or do you ram your fist straight through your monitor?
Panama
What I want to know is how do the people of The Chaos Rift deal with these situations, do you go and get a cup of tea and have a 10 minute break to cool off, or do you ram your fist straight through your monitor?
Panama
Re: How do YOU cope with the stress of errors?
I personally try and debug it for about 10 minutes and then if that fails call it a night and go do something else.
Re: How do YOU cope with the stress of errors?
I crawl up in an emo corner and wish the world would leave me alone while I cry extensively. /sarcasm
If an error is so bad I can't fix it, I go on here and ask for help.
If an error is so bad I can't fix it, I go on here and ask for help.
I'm an altogether bad-natured Cupid.
- trufun202
- Game Developer
- Posts: 1105
- Joined: Sun Sep 21, 2008 12:27 am
- Location: Dallas, TX
- Contact:
Re: How do YOU cope with the stress of errors?
I keep hacking away and usually figure things out. But, if I'm really stumped, I'll take a break and try to rethink my approach. A cup of coffee and a whiteboard will do wonders!
I've also solved quite a few things overnight, by having a moment of clarity when I first wake up or even in a dream.
I hate when I go to bed after a long night of coding. It takes me a good hour to wind down, and then I have the SAME dream OVER and OVER again about coding this ONE issue, about 900 times. Does that happen to anyone else?
I've also solved quite a few things overnight, by having a moment of clarity when I first wake up or even in a dream.
I hate when I go to bed after a long night of coding. It takes me a good hour to wind down, and then I have the SAME dream OVER and OVER again about coding this ONE issue, about 900 times. Does that happen to anyone else?
-
- Chaos Rift Junior
- Posts: 209
- Joined: Thu Feb 12, 2009 8:46 pm
Re: How do YOU cope with the stress of errors?
Yeah, but don't do that too much or you'll get a reputation like avansc'sPickzell wrote:I crawl up in an emo corner and wish the world would leave me alone while I cry extensively. /sarcasm
If an error is so bad I can't fix it, I go on here and ask for help.
Re: How do YOU cope with the stress of errors?
I usually try and power through the code to fix it in one sitting. I rarely take a break if there is an error because sometimes when I come back to it I can't recall for the life of me what the hell i did. If I don't have the time to fix it and i'm not getting anywhere I actually go to the effort of reverting the program to a previously working state. Then when I come back I can re-attempt it and have a few fresh outlooks as to how to go about it. If it's a really bad logic error or I can't recall how to do something I ask friends, but usually with a logic error this doesn't help very often as they would have to go through too much code. In the case of logic errors I start using the built in IDE tools to go through and check whats going on at the steps that I know the error is comming from. I like regularly debugging my code even when all the logic isn't there just to make sure I'ts working.
- Bludklok
- Chaos Rift Junior
- Posts: 241
- Joined: Tue Apr 14, 2009 1:31 am
- Current Project: EnigmaCore
- Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
- Programming Language of Choice: C++
- Location: New Jersey
- Contact:
Re: How do YOU cope with the stress of errors?
If its something thats really got me stuck I'll just go play a game until I'm calm enough to try it again. I have a big sheet of plexi-glass screwed right next to me on my wall that I use as a whiteboard which usually helps with a lot of things.
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: How do YOU cope with the stress of errors?
trufun202 wrote:I keep hacking away and usually figure things out. But, if I'm really stumped, I'll take a break and try to rethink my approach. A cup of coffee and a whiteboard will do wonders!
I've also solved quite a few things overnight, by having a moment of clarity when I first wake up or even in a dream.
I hate when I go to bed after a long night of coding. It takes me a good hour to wind down, and then I have the SAME dream OVER and OVER again about coding this ONE issue, about 900 times. Does that happen to anyone else?
+1 on taking a break to rethink. I would even go as far as to say take a break and completely forget about it for an hour or more. Go play a game or go outside for a while. When you come back to the program you will be much less frustrated and I find this ends up leading me to the issue much more quickly than hulking out and punching holes in my wall.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- ultimatedragoon69
- Chaos Rift Regular
- Posts: 122
- Joined: Tue Oct 28, 2008 1:57 pm
- Current Project: Pangea's quest (text ~tile~ based rpg)
- Favorite Gaming Platforms: Dreamcast, PC, playstation 1, Virtual Boy, Snes
- Programming Language of Choice: c++
- Contact:
Re: How do YOU cope with the stress of errors?
If its something that constantly get's in the way and i can't figure it out. I end up bouncing ideas off of other people. like asking my brother for help for some reason helps me figure out what the problem is lol. (my brother doesn't know anything about computers or programming).
Re: How do YOU cope with the stress of errors?
Dude your avatar is staring into my soul, please fix it.ultimatedragoon69 wrote:If its something that constantly get's in the way and i can't figure it out. I end up bouncing ideas off of other people. like asking my brother for help for some reason helps me figure out what the problem is lol. (my brother doesn't know anything about computers or programming).
I'm an altogether bad-natured Cupid.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: How do YOU cope with the stress of errors?
Errors? I don't get errors. I get catastrophic malfunctions. The only solution is for me to sit here staring at my monitor until I either figure out how to make my project compile, or I no longer have the strength hold my eye lids open.
Edit: Don't try this at home.
Edit: Don't try this at home.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Kros
- Chaos Rift Regular
- Posts: 136
- Joined: Tue Feb 24, 2009 4:01 pm
- Current Project: N/A
- Favorite Gaming Platforms: PC, Playstation/2/3
- Programming Language of Choice: C++
- Location: Oregon,USA
- Contact:
Re: How do YOU cope with the stress of errors?
I usually get past compile time errors without too much hassle. What ends up getting me is design/implementation issues or some sort of bug. If I have a hard time fixing those, then I'll just get my brain off the issue till the next work day; usually some solution decides to make itself known.
Not me. And, ouch.trufun202 wrote:I hate when I go to bed after a long night of coding. It takes me a good hour to wind down, and then I have the SAME dream OVER and OVER again about coding this ONE issue, about 900 times. Does that happen to anyone else?
YouTube ChannelIsaac Asimov wrote:Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest.
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: How do YOU cope with the stress of errors?
I take a break by surfing programming/linux/embedded systems/computer graphics articles on stumbleupon(also surf porn if the usual route doesn't work)
Usually when I'm doing that how to fix it hits me
Usually when I'm doing that how to fix it hits me
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: How do YOU cope with the stress of errors?
When I first started, that used to happen a lot. I would ask somebody who was better than I was or post on the forum. But slowly I became more and more competent. I have not asked somebody for help regarding a compiler error in several years.
If you're flexing that programming muscle in your brain, there will eventually come a point when you get familiar enough with the C/++ compiler errors to either 1) know exactly what you screwed up on 2) know exactly how to google and find your answer in a matter of seconds or 3) know why what you're doing doesn't work.
If you're flexing that programming muscle in your brain, there will eventually come a point when you get familiar enough with the C/++ compiler errors to either 1) know exactly what you screwed up on 2) know exactly how to google and find your answer in a matter of seconds or 3) know why what you're doing doesn't work.
- bitsweep
- Chaos Rift Newbie
- Posts: 3
- Joined: Fri Jul 31, 2009 12:52 pm
- Current Project: Finishing work on embedded programming textbook.
- Favorite Gaming Platforms: Linux PC, PS3
- Programming Language of Choice: C, C++, Perl, ASM
- Location: Houston, Texas
Re: How do YOU cope with the stress of errors?
I have to agree with Gyro on this. After enough time, you start to get a "feel" for what the compiler-errors actually mean. It's a question of experience, and of learning to speak "Compiler-ese" fluently enough to understand what it's trying to tell you. If you get stuck on a build-hiccup for more than a few minutes though, get up and away from the machine for a little bit. It's better for your eyes and brain to focus on something else for a bit.
Now if it's not a build-error, but a run-time issue with the "Chair-to-Keyboard-Interface", that can be a right royal pain in the ass. I generally try to talk myself through the code execution, as if I were explaining the issue to my Dad. (He's technically savvy and understands logic-flow, but isn't a programmer.) Having to re-phrase it for someone else often makes the bugs blindingly obvious.
And to TruFun: You are not the only one who debugs in his sleep; sometimes my dreams are more like segfaults.
Peace,
Now if it's not a build-error, but a run-time issue with the "Chair-to-Keyboard-Interface", that can be a right royal pain in the ass. I generally try to talk myself through the code execution, as if I were explaining the issue to my Dad. (He's technically savvy and understands logic-flow, but isn't a programmer.) Having to re-phrase it for someone else often makes the bugs blindingly obvious.
And to TruFun: You are not the only one who debugs in his sleep; sometimes my dreams are more like segfaults.
Peace,
"Eschew obfuscation assiduously."
Cogito ergo... something-or-other...
Go away or I will replace you with a very small shell script.
Cogito ergo... something-or-other...
Go away or I will replace you with a very small shell script.