It’s said that without evil there can be no good and that without darkness, there can be no light. Is the same true of ugly and beautiful code? Maybe… but that’s certainly not a question I’ll be answering in this talk. Instead, we’ll talk about ugly code, where it comes from, how to avoid it, and how to rid your codebase of it. And of course, I’ll share some of my favorite anti-examples from The Daily WTF.
Watch this video on http://oredev.org/2012/sessions/ugly-code