The main exception is when a string breaks or gets damaged shortly after you put on a new set. Replacing just that string is fine then. Single strings are also useful for building a custom set.
If the rest of the strings are already old and worn, a full set gives you more consistent tone, feel, output and tuning stability.
