PDA

View Full Version : Just walk away....



Raydred
October 30th, 2002, 06:29 PM
Alright I have a tip when you're programming (or designing, but happens more often with programming, at least with me it does.)..

When you're trying to code that actionscript function or some code that you need, and you cant quite get it right.. Just walk away for a few mins, clear your head and come back..

take for example, me.

I tryed all day to code this peice of flash for work, and i worked and worked and workd, and was very frustrated cause the darn thing wouldnt work... so i tool lunch (very late today like at 2p,) and when i came back, i looked at the code, and it made no sense so i deleted it. Within 10 mins or so i had the darn thing working the way i wanted to!! Thats even more frustrating lol..


So today's lesson is, Just walk away when you come back you'll be able to code again! =) lol

ok just thought i'd share =)

reverendflash
October 30th, 2002, 06:32 PM
How true it is...

Sorry it took you this long to have that epiphany... :P :P

Rev:elderly:

Raydred
October 30th, 2002, 06:35 PM
lol the sad part is, i keep having the same ephiphany lol

But i forget and then go thru the ordeal again..

o well =)

reverendflash
October 30th, 2002, 06:36 PM
sounds like a short term memory loss due to a chemical inbalance... :P :P

solution: add more chemicals... :P

Rev:elderly:

Raydred
October 30th, 2002, 06:43 PM
lol Caffein goes in, Programs come out. lol =)
i like that, im gonna use it as my quote! =)

reverendflash
October 30th, 2002, 06:47 PM
LOL

Note: spelled "caffein"

Rev:elderly:

Raydred
October 30th, 2002, 06:54 PM
Geeze I cant do everything! lol

jk =) thanks!

reverendflash
October 30th, 2002, 06:58 PM
No worries... :-\

that is what anal retentive pastry chefs do....

:P

Rev:elderly:

Ryall
October 30th, 2002, 07:38 PM
Dont know how many times I've experienced the same thing.... sometimes you just need to STOP! and take a break.

Peace

SureShot
October 30th, 2002, 07:50 PM
I totally agree with you guys. Most of the time if I cannot just get it, I will either go somewhere else (if I'm not at work) or start to work on something different if at all possible.

I cannot count the amount of times I have been either driving home or laying in bed trying to sleep when all of the sudden that idea or answer I have been looking for all day hit's me right in the face:)

Raydred
October 30th, 2002, 07:53 PM
Exaclty, but my motivation and dedication to get it right forces me to try things over and over and rethink and rethink, make it work lol

what i ussually do is, it doesnt work, so i try something and it still doesnt work, then i add more thigns, and by the end of it i have code like this :

if (corn = 9* (beans) + 2 = 2.3 * 4) {
string = play.movieclip.play.movieclip.play();
for (i=0; i = i; i**){
substring(string,i 7)
}


}

"Why cant i make 1 + 1 = 2?! " lol

Raydred
October 30th, 2002, 08:00 PM
And thinking about finding the answers driving home, i jusrt did that. lol

The bad thing is, when something bugs me that much, i think nothing but code lol

if someone askes my name i go thru this subroutine:



Person.initiate();
getName(_self);
if (getName(_self) != false){
person.name(BrainDb);
person.name.set(darrel)

mouth.open();
for(i=0; i < len(Darrel); i++){

mouth.say(sound(substring(person.name(darrel), i ,1));


}
if (mouth.say = darrel){
mouth.close();
}else{
person.scream();
person.runAway();
}
}



lol

Makaveli
October 30th, 2002, 10:02 PM
HuH!? *backs away slowly*

upuaut
October 30th, 2002, 10:19 PM
rofl raydred

As for your epiphany, I could have sworn I just posted a thread about this exact subject three weeks ago. :)

Raydred
October 30th, 2002, 10:25 PM
Oh wow! this ties into our Deja vu thread lol =)

thats cool, i realize now we all go thru this all the time lol =)
I thought i was a moron for not programming so well lol =)

but i realize, im not a moron, just the same as everyone, smart yet cant figure the dam thing out lol

lostinbeta
October 30th, 2002, 10:33 PM
I remember that thread david.

As for leaving it for a little while. Since I code at night (they call me the vampire coder....mmmmmwwwwahahaha, well not really), when I get in a rut I tend to just stop and sleep on it and it comes to me in the morning.