Note that I based this analogy on being a CS graduate myself and also working for a while for a chap whose academic speciality was mathematical modelling of things like water hammer.
Discussions regarding PE-style certification for software development often get stuck in the mud, but I'd wager that we'll see something emerge in this generation for general development (as it already exists for safety-intensive applications). And crypto may actually increase the demand for formal proofs and other deep CS concepts.
Your CS prof may have made the remark with some degree of disdain, though there are quite a few programmers / developers out there making better money than a college prof (excluding those working in private consultation).
“Its hard to get a man to understand something when his salary depends on his not understanding it”