How have the developments of science and the influence of scientific thinking changed the way we view crime and criminals?

How have the developments of science and the influence of scientific thinking changed the way we view crime and criminals?