News for hackers. Stuff that matters.
Re:Ask YC: Could you point to examples of great and terribl... by jackhack on Monday June 23, 2008 @11:39PM (#225891)
If you want to see some code abominations (with a healthy dose of ridicule and humor) check out http://thedailywtf.com/ Seriously, some of the worst code I've ever seen.
Re:Ask YC: Could you point to examples of great and terribl... by chengmi on Tuesday June 24, 2008 @02:02AM (#225957)
While thedailywtf.com is an excellent source of entertainment, I think it's more useful to study code that compiles, looks, and runs fine, but has some less-obvious deficiency like an XSS vulnerability, or poorly chosen algorithm (e.g. bubble sort). I like to skim through "best practices" books whenever I'm learning a new language or technology.