Judith Resnik’s new book, Impermissible Punishments: How Prison Became a Problem for Democracy, highlights the use of treatment like whippings in American prisons.