Dienstag, 13. November 2007

if it's simple, fix it later

um zu unterstreichen, dass programmierer eine eigene art von humor haben, ein kurzes zitat:

I suppose a lot of people will scream at this kind of coupling, but it harks back to my firmware days when this sort of stuff was necessary and useful. And you shouldn't scream anyways, because Extreme Programming (XP) says things should be done as simply as possible, because you can always fix it later with refactoring. He he. Nothing like using the arguments of "the other camp" when convenient to further my own goals, eh?
...
If the test state has higher priority (based on its ordinal value) than the current state, set the image index to the new state. Note the abuse between ordinality, image index, test state, and priority. I love it!
...
As Microsoft is fond of saying: "this is by design" (which I always read as "we're too lazy to do it right").
...
But that's OK, because once we figure it out, we can add the appropriate unit test! (No really, I'm not being sarcastic, I'm really not!)


jawohl.

Keine Kommentare: