mixed difficulty

How has our understanding evolved regarding the use of punishment as a behavioral modification tool under operant conditioning principles?