Philosophy and history majors are for people who have no idea what they want to do. So a decent job in any field is as good as any other.
CS majors are working towards employment in a specific sector, and aren't likely to accept anything else very readily.