I don’t really care to debate the claim from this professor but it has been my experience that webdev is unfairly looked down upon in academia. I vividly remember a CS professor disparaging the PHP community (which I loved/belonged to)—and how destructive it felt.
Don’t do this.