That impulse is even in our language. We say someone "jacked off in" or "took a dump in" the code base when he did something "clever" but unskillful and damaging. It's an epithet of self-indulgence and even sabotage when a more appropriate reaction is, "I wish he hadn't done that, so let's sit down and teach him better practices".
It served us well when we had to stop people from poking sleeping mammoths and smilodons with sticks, but it's outdated now (for the most part). Code indentation is not an existential issue for most software companies.
Don't get me wrong: I dislike spaghetti legacy code as much as anyone else. I mean, it's truly horrible to look at. And one only need review my history to see what I think of the Java and C++ languages. I just think reacting emotionally is a bit unskillful. (I can't use a stronger word than "unskillful" because I do it myself.) I think we'd be a lot more productive (and this is largely a self-criticism) if we could take stock of our mental processes and turn "code rage" off.
Relatedly, I think we'd be better off as an industry if there were more women in it, but that's another discussion entirely.