It's not even about the degree. Fresh computer science graduates already know how to code but can't do the senior developer stuff.
https://www.nair.sh/guides-and-opinions/communicating-your-e...
https://www.nair.sh/guides-and-opinions/communicating-your-e...
Then naturally seniority teaches office politics, and what to actually invest time on.