In general, comets are named after their discoverer. For example, comet Shoemaker-Levy 9 got its name because it was the ninth short-periodic comet discovered by Eugene and Carolyn Shoemaker and David Levy. Spacecraft have proven very effective at spotting comets as well, so the names of many comets incorporate the names of missions such as SOHO or WISE.