While we're on the topic of poor programmer assumptions, here's a problem a developer ran into with his family tree software when it turned out there was a cycle in a user's tree (father had children with his daughters):
http://stackoverflow.com/questions/6163683/cycles-in-family-...