“Optimists have more fun, but do
they learn better? On the influence
of emotional and social factors on
learning introductory computer science”
https://cs.au.dk/~mec/publications/journal/22–optimists.pdf
”…we found no correlation between
emotional health and social well-being on the one hand and success in computer science as indicated by course grades on the other”
:-S