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
- 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