Depends on what component of compsci you are talking about. I worked with several profs that have never worked on large software projects. They spent their lives constructing proofs and the closest thing to programming they would do with any frequency is update their webpage.
Software engineering is to programming as civil engineering is to construction. Software engineering is just a small slice of computer science.
Software engineering is to programming as civil engineering is to construction. Software engineering is just a small slice of computer science.