The following pages are from the book, An Unauthorized Examination of the Boy Who Lived: The Psychology of Harry Potter. Goodfriend makes the argument that Harry is pessimistic and has an avoidant attachment style. Harry is pessimistic about life due to the absence of his parents. Once his parents die and he is sent to live with the Dursley's, Harry believes nothing good will ever happen to him again. His struggle to come to grips with the death of his parents has led him to lead a pessimistic life.
Goodfriend, Wind. "Attachment Styles at Hogwarts". An Unauthorized Examination of the Boy Who Lived: The Psychology of Harry Potter. Ed. Neil Mullholland. Dallas: BenBella Books, 2006. 75-89. Print.