B.f. Skinner said this quote

The most effective alternative process [to punishment] is probably extinction. This takes time but is much more rapid than allowing the response to be forgotten. The technique seems to be relatively free of objectionable by-products. We recommend it, for example when we suggest that a parent 'pay no attention' to objectionable behavior on the part of his child. If the child's behavior is strong only because it has been reinforced by 'getting a rise out of' the parent, it will disappear when this consequence is no longer forthcoming. (p. 192)