memnus: Cartoon kitten after being sprayed with water (Angry kitten (QoW))
Brian ([personal profile] memnus) wrote2005-06-10 06:25 am

Shrift

This week, or more accurately, yesterday and probably today, I've done things that would make any Mudd-trained codemonkey cry.

- Magic numbers. Well, I wasn't the perpetrator of this, but the victim, but I still had to find all the instances of 40 and 41 and change them to 36 and 37 respectively.

- Use of the ?: operator. Personally, I think this one made the code cleaner, but it still gave me pause.

- Use of goto statements.. For this, I have no defense, except that I was mimicking the style already established for similar functions. At least it wasn't a backward goto?

And yet, today I get to go propogate more of that same evil upon the world.

click

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org