It's better to rotate the magnets and keep the coils stationary in an alternator because then you don't need slip rings and brushes.