« More Diebold Hacking Demonstrations | Main | Erasing the Digital Signature Law »
Programming Head Shakers
If you’re not reading The Daily WTF and you program, you really ought to give it a spot in your attention stream. Today’s entry is a classic: using a termporary file instead of sprintf. The comments are pretty good as well, dissecting the code and pointing out all kinds of style programs. A humorous way to learn from bad examples.
Posted by windley on December 20, 2005 9:03 AM



Comment from Cid Dennis at December 20, 2005 12:56 PM
That sprintf example is a good one. Man talk about the hard way to do something. I would hate to maintain that coded.
Comment from critic at December 21, 2005 12:29 AM
Many of the "insightful comments" appear to boil down to "WTF?"
Comment from BMargle at December 22, 2005 1:27 PM
Why did my question get deleted from its post???
Comment from Phil Windley at December 22, 2005 6:34 PM
Because I couldn't figure out what it had to do with the article. Looked like SPAM to me.