An old hand programmer once told me he could figure out whatever social/psychological pathologies from the code of the programming shop that wrote it.