Alan Blackwell's course at Cambridge on the usability of programming languages has as its text a selection of chapters from a 1990 book on the psychology programming. There's a ton of great material here: I'd love to see a revival of interest in the topic.