Tuesday 7 September 2004 — This is 20 years old. Be careful.
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...!
Comments
Add a comment: