Spanking or other uses of physical force dont teach the child anything. Telling the child why what he did is wrong and making him feel to blame is more afective in the long run than hitting them. Any punishment that gets the child to say: "this is wrong because..." and not: "my parents dont like it so i'll do it behind behind their back" is preferable.