"An eye for an eye makes the whole world blind."
This statement is an oversimplification and puts too much of a negative spin on the idea of retribution. while I won't say at this point whether or not it's the right thing, I do believe it is the fair thing. Personally, I am a fan of Hammurabi's code which, although rather dated, lists fair punishments for many crimes. However, The code is also impractical today, since acts such as chopping off a man's limbs and killing his firstborn are considered immoral..
But I digress. In short, i would amend Gandhi's saying to "An eye for an eye creates a world of one-eyed wise men," because after suffering the pain that you have caused another personally, you (or at least I) would never do such a thing to again, and would use that pain as a reminder both to myself and those around me.