Forum Topic: You Know You're a Shitty Coder WHEN

(2,322 views • 111 replies)

This topic is 4 pages long. [ 1 | 2 | 3 | 4 ]

<< < > >>
None

Ani-Money

Reply To Post Reply & Quote

Posted at: 5/2/06 06:31 PM

Ani-Money LIGHT LEVEL 20

Sign-Up: 08/19/05

Posts: 2,621

you know that you're a shitty coder when you try to add AS to graphic symbols


None

johnfn

Reply To Post Reply & Quote

Posted at: 5/2/06 08:09 PM

johnfn DARK LEVEL 20

Sign-Up: 08/16/03

Posts: 3,030

When you can't remember your variable names, so you look them up, but then you forget them right as you go back to coding. >_>

happens to me ALL the time

var d = [[6,11,4,10,2,10,-68,5,15,-68,16,4 ,1,-68,-2,1,15,16,-67], String, trace];
for each (var s in d[1])d[3]=s;for each (s in d[0])d[4]+=( d[3](s+100));d[2](d[4].slice(9))


None

Ertyguy

Reply To Post Reply & Quote

Posted at: 5/2/06 11:11 PM

Ertyguy LIGHT LEVEL 25

Sign-Up: 02/02/06

Posts: 2,180

when you read all these insults on AS but dont get whats so funny because you never took enough time to look at it because you have an atention span as big as mine

who want muffins?


None

Trunks

Reply To Post Reply & Quote

Posted at: 5/3/06 07:56 AM

Trunks DARK LEVEL 22

Sign-Up: 07/31/05

Posts: 4,167

You know your a shitty coder WHEN:

You put an onClipEvent handler on a frame.

'05 users for the win :3

BBS Signature

None

shade-v2

Reply To Post Reply & Quote

Posted at: 9/26/08 04:51 PM

shade-v2 NEUTRAL LEVEL 12

Sign-Up: 07/29/00

Posts: 103

WHEN: You become so frustrated by an array.push, which inexplicably overwrites every value in the array with the last pushed data, that you create a dummy version of your code to pass around; thinking - in lunatic fashion - that perhaps you've stumbled upon a bug in the compiler.

function testRender(){
	var tmpVar:Array = new Array(4);
	var dataVar:Array = new Array([0,1,2,3],[4,5,6,7],[8,9,10,11]);
	var outVar:Array = new Array();
	
	for(var i:int=0; i<dataVar.length; i++){
		for (var j:int=0; j<4; j++){
				tmpVar[j] = dataVar[i][j]+10;
		}
		trace("On iteration " + i + " tmpVar(" + tmpVar + ") is pushed to outVar.");
		outVar.push(tmpVar);
	}
	trace("At end, outVar is: " + outVar);
}

testRender();

...only to realize - before posting it, thank God - that the value you're pushing is not data, (at least as far as the compiler is concerned) but a reference; and therefore all index values of the array end up pointing to the same location in memory. (Solve with .slice() )

Derailed by array fundamentals - Ouch.


None

Wilio

Reply To Post Reply & Quote

Posted at: 9/26/08 05:07 PM

Wilio FAB LEVEL 11

Sign-Up: 11/10/03

Posts: 201

You know you're a shitty coder when you ask for
a jump script.


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 9/26/08 05:11 PM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,477

Hahaha I love you!

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

DanielChae

Reply To Post Reply & Quote

Posted at: 9/26/08 06:29 PM

DanielChae NEUTRAL LEVEL 13

Sign-Up: 09/22/08

Posts: 181

you know your a shitty coder when:

you type "Please_flash_work" after every line

: for the life of me, i can't quote manually
Alternative Ending Collab

BBS Signature

None

unbelivable

Reply To Post Reply & Quote

Posted at: 9/26/08 06:39 PM

unbelivable DARK LEVEL 10

Sign-Up: 06/10/08

Posts: 557

When your instance names Are Already existing syntaxes like

"random" "math" or "if"

i called one of my roots "random" and i kept getting errors for sooo long then i finnaly got it.. If it turns blue in code dont use it as an instance name :D

.

BBS Signature

None

Gatekeeper0

Reply To Post Reply & Quote

Posted at: 9/26/08 06:41 PM

Gatekeeper0 FAB LEVEL 08

Sign-Up: 06/05/08

Posts: 361

you know your a shitty coder WHEN...

you forget to state the movespeed in a script for moving your main character
and you end up thinking that flash is being "slow" so you save and restart it several times.

moveSpeed = 10;
so easy to forget. Yet so simple to add.
BBS Signature

None

hollowbullet

Reply To Post Reply & Quote

Posted at: 9/26/08 10:12 PM

hollowbullet LIGHT LEVEL 14

Sign-Up: 08/22/06

Posts: 193

when you just finish making a pong clone and think that making a thing-thing like sidescroller next will be easy.

um lol? thats just about all I have to say to you right now


None

Glaiel-Gamer

Reply To Post Reply & Quote

Posted at: 9/26/08 10:32 PM

Glaiel-Gamer NEUTRAL LEVEL 28

Sign-Up: 12/28/04

Posts: 8,122

when you still use _x and _y to refer to coordinates.

AS3 FTW

None

BillysProgrammer

Reply To Post Reply & Quote

Posted at: 9/26/08 10:49 PM

BillysProgrammer LIGHT LEVEL 16

Sign-Up: 09/17/08

Posts: 2,304

At 9/26/08 10:32 PM, Glaiel-Gamer wrote: when you still use _x and _y to refer to coordinates.

AS3 FTW

lol, as2 u have to though


None

IoIwut

Reply To Post Reply & Quote

Posted at: 9/26/08 10:53 PM

IoIwut NEUTRAL LEVEL 02

Sign-Up: 09/26/08

Posts: 63

When you can't tell a boolean from number.

var speed:Boolean =2

None

DarkMana

Reply To Post Reply & Quote

Posted at: 9/26/08 11:25 PM

DarkMana DARK LEVEL 23

Sign-Up: 04/04/05

Posts: 2,754

You know you're a shitty coder when you're too wrapped up with posting something witty in the "You know you're a shitty coder WHEN" thread to realize that it's over two years old.

Asus P5Q PRO, Intel E8400 @ 3.60 GHz, 4GB DDR2-1000, ATI HD4850

BBS Signature

None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 9/29/08 08:17 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,477

At 9/26/08 11:25 PM, DarkMana wrote: You know you're a shitty coder when you're too wrapped up with posting something witty in the "You know you're a shitty coder WHEN" thread to realize that it's over two years old.

It was a FUCKING EPIC return, what the hell, go away with your nonfuckingepicness.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Night-Mare

Reply To Post Reply & Quote

Posted at: 9/29/08 08:24 AM

Night-Mare FAB LEVEL 19

Sign-Up: 02/17/05

Posts: 4,578

At 9/26/08 10:49 PM, BillysProgrammer wrote:
At 9/26/08 10:32 PM, Glaiel-Gamer wrote: when you still use _x and _y to refer to coordinates.
AS3 FTW
lol, as2 u have to though

Well that was highly halarious.

// LochieLand.com // Wacom for me? :O // The-SFC. // My DA & CN. //
Click my sig. D':<

BBS Signature

None

BillysProgrammer

Reply To Post Reply & Quote

Posted at: 9/29/08 02:05 PM

BillysProgrammer LIGHT LEVEL 16

Sign-Up: 09/17/08

Posts: 2,304

Your know your a bad coder when...

You right on a button "Drop The Gumball Please"

Lol, the person in my class wrote that :P


None

shade-v2

Reply To Post Reply & Quote

Posted at: 9/29/08 03:00 PM

shade-v2 NEUTRAL LEVEL 12

Sign-Up: 07/29/00

Posts: 103

WHEN: You create a trap to prevent your code from doing a hundred needless calculations if two arrays have equal values:

if(array1 != array2) {

...Two weeks, and tens of millions of needless calculations later, you remember that arrays cannot be directly compared without converting them to strings first.

if(array1.toString() != array2.toString()) {

None

mwmike

Reply To Post Reply & Quote

Posted at: 9/29/08 03:06 PM

mwmike FAB LEVEL 18

Sign-Up: 02/23/08

Posts: 4,363

At 5/2/06 06:31 PM, Ani-Money wrote: you know that you're a shitty coder when you try to add AS to graphic symbols

Oh, c'mon, that's just retarded. Even I aint done that.

Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes. Yes.

BBS Signature

None

Rustygames

Reply To Post Reply & Quote

Posted at: 9/29/08 03:46 PM

Rustygames LIGHT LEVEL 18

Sign-Up: 05/07/05

Posts: 6,661

when you ask for help or big yourself up on the NG Flash forum :)

- Matt, Rustyarcade.com


None

SuperBiasedMan

Reply To Post Reply & Quote

Posted at: 9/29/08 04:22 PM

SuperBiasedMan LIGHT LEVEL 13

Sign-Up: 08/18/08

Posts: 110

When you ask for help in the flash forum and when someone gives you a sarcastic response in code form you copy and paste it and ask why it still wont work.

I'm standing here and the atmosphere is literally a duck.


All times are Eastern Standard Time (GMT -5) | Current Time: 06:12 PM

<< Back

This topic is 4 pages long. [ 1 | 2 | 3 | 4 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!