(no subject)
Aug. 22nd, 2005 01:22 pmYarr.
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!
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!
no subject
Date: 2005-08-22 12:32 pm (UTC)no subject
Date: 2005-08-24 10:43 am (UTC)I'm scared.... I think they plan world domination
no subject
Date: 2005-08-24 04:00 pm (UTC)They obviously have a secret code involving really long pasta, bad penis, euphamisms and coffe
no subject
Date: 2005-08-24 04:03 pm (UTC)no subject
Date: 2005-08-24 04:07 pm (UTC)no subject
Date: 2005-08-24 10:00 pm (UTC)they are scary
no subject
Date: 2005-08-22 01:09 pm (UTC)no subject
Date: 2005-08-22 01:24 pm (UTC)no subject
Date: 2005-08-22 01:27 pm (UTC)no subject
Date: 2005-08-22 02:17 pm (UTC)no subject
Date: 2005-08-22 02:21 pm (UTC)no subject
Date: 2005-08-22 02:25 pm (UTC)no subject
Date: 2005-08-22 02:29 pm (UTC)no subject
Date: 2005-08-22 02:32 pm (UTC)no subject
Date: 2005-08-22 09:08 pm (UTC)(besides, you're not a real programmer until you've had to reboot to recover from an infinite loop)
no subject
Date: 2005-08-23 08:01 am (UTC)Honestly, I've never thought a variable defined in the "for" statement would have anything but local scope...
no subject
Date: 2005-08-23 06:38 pm (UTC)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.