auto incrementing like a dumbass

I woke up at about 4am this morning, in the middle of some fever-induced sleep-coding.

I got up, turned on a desklight, and wrote the following:

loop, dumbass
kill the $l++ in the for loop!
the for auto increments, dumbass!

See, I’d been having this problem on this stupid ongoing project.

So I get up in the morning, and look at the code this message applied to. Turns out the problem area wasn’t even in a for loop! It was in a while statement! Oh! The humanity!

I hate it when I work out non-applicable code problems in my sleep. Waste of fucking time.

Leave a comment

Your email address will not be published. Required fields are marked *