Throwing a Shoe
Dec. 6th, 2007 05:41 pmIf I recall correctly, the word "sabotage" originally referred to throwing shoes into factory machinery to prevent it from working. (Wikipedia disagrees. But why let that get in the way of my story?) A metaphorical sabot arrived in my code today, as one of my co-workers decided to ork my cow and toss a shoe by moving some code of mine that offended him from a class that he was responsible for to a class that I am primarily responsible for.
Had he done so without error, I might not have noticed this for some time as I am now sitting at the wrong end of a bad ClearCase connection that means I don't run the differencer on changes as frequently as I used to. Fortunately (?), there were several errors that stopped the code from working altogether.
Memorandum: if my function is carefully generating a new DataSet (which I've carefully "new"ed), you might want to consider returning it rather than letting it fall on the ground completely unused and passing the original, malformed for this purpose DataSet into your function where it will do, well, nothing at all useful.
Animated discussion ensued.
Had he done so without error, I might not have noticed this for some time as I am now sitting at the wrong end of a bad ClearCase connection that means I don't run the differencer on changes as frequently as I used to. Fortunately (?), there were several errors that stopped the code from working altogether.
Memorandum: if my function is carefully generating a new DataSet (which I've carefully "new"ed), you might want to consider returning it rather than letting it fall on the ground completely unused and passing the original, malformed for this purpose DataSet into your function where it will do, well, nothing at all useful.
Animated discussion ensued.