Certainty according to Beccaria, a punishment must be certain to follow from the crime in order to be an effective deterrent. The greater the extent to which a would-be offender thinks that he can get away with a crime, the less he will weigh the punishment into his deliberation of whether or not to commit the crime.