The daily WTF

Tuesday 7 September 2004

The Daily WTF is a snarky collection of those pearls of bad programming we all encounter from time to time. They’ve got one per day, covering a broad range of real-life abominations against the coding commandments. My favorite so far? There are so many tasty delights, it’s hard to know where to start. But this approach to exception handling hits home:

try {
catch (Exception e) {
    e = e;

Apparently an empty catch was warning about the unused e variable, so...!


Simon Willison 8:52 PM on 7 Sep 2004

The funniest thing about that site is that no matter how horrible the example, someone is bound to show up in the comments arguing that it really isn't that bad.

Jeff Darcy 7:05 AM on 8 Sep 2004

Excellent site. Thanks for the link, Ned.

Chavhunter 5:45 AM on 1 Oct 2004

Good god. This site makes me want to cry.

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.