Maybe the problem is expecting the workplace to be a social gathering. Perhaps the fault isn't with the person who called their code shit, but with the shitty coder who sulked about it for the rest of the day and didn't get anything done instead of trying to make it better or deciding that the other person is just a cunt and ignoring them, then getting on with your day.
I hope this gets applied iteratively. Every month, the team votes on who gets kicked off the island fired for not being a team player. Voting blocs will form and politics will rule, but it will cause everyone to be bitter and suspicious, and kill the company. Then those louts who couldn't just do their fucking job will starve to death and society reaps a great benefit.