"Some years ago, when COBOL was the great white programming hope,". -- The Psychology of Computer Programming.
Any 20-year-old book written about psychology is going to show its age, and this book lacks a bunch of the relatively recent refinements regarding motivation and personality classification. But the greatest strength of the text is the questions at the end of each chapter, several questions for managers, and several for programmers. If the chapter's great anecdotes don't get you thinking, the questions will.
Weinberg quotes James Maxwell, "To measure is to know.", and Ronald A. Fisher, "The more adapted, the less adaptable.". These quotes sum his book, as he pays lip service to Maxwell, but doesn't provide much experimentatal data. And by using anecdotal discussions of personalities and mismanagement, he retains his relevance over time by providing a psychological and sociological overview of programming. But this is not enough to prevent me from recommending it to you.