> There is another hat: cannot resist pigeonholing other people
I think you failed to read the article. This article has nothing to do with pigeonholing people. This has nothing to do with people at all. This is about framing paths taken when working on solutions. Those who fail to understand this can even become toxic team members because they ignore contexts and start to nitpick with a chef's hat code that was clearly written as a proof of concept while wearing a macgyver's hat.
Everything comes back to social identity theory :) Especially programmers, who are already partially drawn to pattern matching.
I still enjoy articles like these, though -- think the author did a good job of describing the hats as "modes of working that you switch between" instead of "all-encompassing static personality traits that put you in a box".
once you get someone pigeonholed, it becomes a self fulfilling prophecy