In Grant Morrison's seminal "Doom Patrol" run, he talks about fairy tales as a means of traumatizing children to prepare them for life.
And when children once grow older or are particularly smart, they would mistrust it and everything adults had told them, clearly more damaging than beneficial.
A lot of this has been lost in modern sanitized re-tellings, but lots of traditional culture is rife with double meanings and subtexts. (I was in a trad fusion band, and I remember the moment when our lead singer started to realize this. Much good-natured ribbing was to be had that day and days after.) My take is that the smart ones are meant to realize that these things aren't to be taken literally. Rather, they are meant as cautionary tales and as a sort of map to the maze of inner feelings and impulses within all human beings. 
There is a scene in Larry Niven's The Magic Goes Away where one wizard (Clubfoot) is talking about being one of many young apprentices taken up to a mountaintop by his master. The master wizard enchanted a cloud and let them play bouncing around on it, no warnings, no explanation given. Clubfoot speculated that it might be a sort of implicit test. Any apprentices stupid enough to go back up the mountain and try to jump on an unenchanted cloud would effectively take themselves out of the apprenticeship and the gene pool. This has a lot to do with how I think of traditional stories and myths.
Certainly, yelling at small children or even spanking them is not optimal and often not very helpful but anger is not the evil per se either. The key is to choose wisely how to act on this particular feeling. Suppressing or even disguising it under a friendly facade is not helpful, often even damaging for one’s mental health and relationships.
A lot of this has to do with the cultural environment. If a child is surrounded by people who implicitly enforce certain values and have a certain demeanor, the child will tend to pick that up. Inuit children are the way they are because they are in that particular culture. What US culture apparently does to children strikes me as horrifying. One thing I love my wife for, is that I can see that she's wonderfully nurturing, while I also very much see the "Tiger Mom" within her.
( Jordan Peterson's work in this regard is very interesting. Look up his take on Pinnochio.)
Why these stories (and the pebble technique from the article) work is that they enable kids to predict what the consequences of their actions will be. They can't do that without at least being told what they would be, and when they're violent, angry and panicking (ie. during violence) is not the best time to learn.
Violence is mostly the result of losing control. And most parenting strategies boil down to immediately using more and stronger violence to stop whatever behavior parents don't like. This, of course, prevents the kid from exploring that behavior, and of course teaches that an immediate escalation of the violence is the way to go (which is how you very often see kids behave to eachother). You should always let kids fight until one actually gets some small amount of actual physical damage (enough to, say, make them scream, at least), before interfering. If you have to interfere before this point (e.g. involving the eyes), you have to tell them not just not to do it, but what would have happened, and then answer their questions on it. These questions will be very cold and direct ("Why can't I poke out her eyes ? She stole my doll !") and that does NOT mean your kid is evil.
You might say "parents don't use violence". No ? Dragging kids physically away from whatever they're doing. Limiting them to their room. Going to bed without dinner. I'm not saying these are always bad things to do, far from it. In fact after doing what I suggest you do, I think dragging kids away is not necessary, but some measure of punishment should probably still be demanded, AFTER explaining the situation AND answering questions about it.
The problem with the western way of protecting kids before they get into trouble is that this escalation by parental violence (physically preventing the child from doing anything wrong and/or "evil") is that it doesn't work. Sometimes YOU are wrong. Believe it or not, it happens. Sometimes the teacher IS WRONG. Sometimes the police is outright evil (or at least morally questionable). Sometimes multiple parties may be wrong at which point "who's at fault" is probably a stupid question.
(e.g. kid lends toy to kid2, kid2 insults kid, kid demands toy back, a fight ensues, parent intervenes, kid still fights to get toy back, parent's hand hits the table, plates break and chair falls on kid2. Who's at fault ? Technically the insult, then not giving lended toy back, then trying to physically get the toy back and presumably the parent could have been more careful too. All participants are "at fault", BUT I guarantee you not all will be punished)
What you have taught the child is, in that case, to immediately escalate the violence. Guess what ? You're not going to like the result. And of course, this cannot be understood, and what do we do ? Escalate AGAIN.
If your kids fights you, fight back (MEASURED of course, I'm not saying knock them out). If you do this when they're 5 you can keep the fight perfectly under control and they will get the point: they shouldn't fight their parents because it's not an effective strategy to get what they want. Again, questions will probably follow, and they'll really learn something.
A kid should NEVER be taught to react violently to enforce some standard of "justice", but that's exactly what we do. And now you might argue, but justice exists, doesn't it ? One, there's the philosophical point that no, it doesn't. Two, you don't have the information to make correct judgements about what is just or not. And three, just or not, it is more important that the situation remains livable for everyone.