You're right that people have that attitude, but pride in one's work is more advantageous in our industry. We expect our jobs to be relatively short-term (five years at most). And with every job completed, even for failed projects, we learn something new, and probably portable. I don't need my former manager to prove that I know what the "this" keyword does in Javascript.
It's a lot harder to tell whether teachers are any good. I guess this is why they willingly submit to systems that privilege seniority.
It also reminds me of why I left the passion that led me to software - gaming. I did a lot of amateur game dev all through high school, even networked a fair bit with the local game studios and got some valuable mentorships out of the deal. But if there's any part of the engineering profession that screams of management abusing your love for your work, it's game development.