kingandy: (Pirate!)
[personal profile] kingandy
Yarr.

Just spent half an hour staring at a validation function, before realising I was using the same loop counter variable in two nested loops (several functions removed).

Yarr!

Date: 2005-08-22 12:32 pm (UTC)
From: [identity profile] archmike.livejournal.com
Was that even english?

Date: 2005-08-24 10:43 am (UTC)
From: [identity profile] happy101.livejournal.com
not it wasn't english..and whats worse.... non of the replies are english


I'm scared.... I think they plan world domination

Date: 2005-08-24 04:00 pm (UTC)
From: (Anonymous)
I think you might be right

They obviously have a secret code involving really long pasta, bad penis, euphamisms and coffe

Date: 2005-08-24 10:00 pm (UTC)
From: [identity profile] happy101.livejournal.com
I guessed it was....and yes

they are scary

Date: 2005-08-22 01:09 pm (UTC)
From: [identity profile] mj-uk.livejournal.com
nested within each other? did u kill the compiler?

Date: 2005-08-22 01:27 pm (UTC)
From: [identity profile] mj-uk.livejournal.com
hee hee, i love infinite loops

Date: 2005-08-22 02:21 pm (UTC)
From: [identity profile] mj-uk.livejournal.com
but sometimes they just get bigger and bigger, then without warning, they fail and let you down
(deleted comment)

Date: 2005-08-22 02:29 pm (UTC)
From: [identity profile] mj-uk.livejournal.com
so long you had to post twice eh?

Date: 2005-08-22 09:08 pm (UTC)
From: [identity profile] blufive.livejournal.com
And that's another reason why global variables are baaaad, m'kay?

(besides, you're not a real programmer until you've had to reboot to recover from an infinite loop)

Date: 2005-08-23 06:38 pm (UTC)
From: [identity profile] blufive.livejournal.com
[disclaimer: I am not a JS guru, but...]

IIRC, in javascript, there's no such thing as local scope - pretty much everything's global.

Otherwise - infinite loop with alert() calls in it - nice.

March 2012

S M T W T F S
    123
45678910
11121314151617
18192021222324
25 262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 30th, 2025 02:18 pm
Powered by Dreamwidth Studios