A plea of no contest is advantageous for defendants where the effects of a plea of guilty are too harsh. For example, a defendant might choose to enter a no contest plea to avoid the expense and publicity of a trial.