Having their eyes so far apart gives the various Hammerhead species 360 degree vision which is definitely advantageous, however there are three other aspects to that big flat head which serve the shark very well. We notice the eyes but the nostrils are also located out towards the ends of the hammer, or "cephalofoil". Hammerheads do much of their hunting on the bottom, and at night. Flat sea life like ray's, and flatfish like Flounders, are well camouflaged and will often bury themselves under the sand thus finding them visually is extremely difficult so other senses need to come into play. You're probably aware that sharks have very rough, sand paper like skin covered with "dermal denticles", tooth like structures. The denticles on Hammerheads have ridges on them which help guide scents in the water to their nostrils, which are widely spaced along the "hammers" of it's head. Research indicates that sharks are able to differentiate between what, and when, each nostril senses, similar to the way an owl triangulates the location of it's prey through sound as it hunts at night and in winter, when it's prey is under the snow, and we can determine the location of objects we look at with our front facing binocular vision. Like many predators and scavengers, sharks have a very sensitive sense of smell, just as raptors have excellent vision, and can smell blood or rotting flesh from great distances. However, the Hammerhead's prey is usually not hurt so the only scent they exude is from their undamaged skin. Thus creatures who rely on them as their primary food source must develop additional, non-visual, methods to find them at close range. In addition to utilizing scent and vision, the bottom of a shark's head is covered in "ampullae of lorenzini", electrical sensors. Having those sensors arrayed over a wide platform helps in locating prey, as the Hammerhead can determine which sensors are picking up signals and swim in that direction. You're probably aware of the lateral line fish have which picks up electrical impulses and helps them to find their prey. Hammerheads swim very close to the bottom and swing their long flat heads back and forth until they pick up scent and electrical impulses from their prey, which has buried itself beneath the sand. The more sensors they have over a wide area, the better they are at picking up these signals and the more successful they are at finding their hidden prey. Finally, Hammerheads are often seen pressing a ray to the surface with one end of their cephelofoil while they bite off the wings. As sharks, of course, lack hands, this ability to hold their prey is extremely useful. Thus, that big weird looking' head provides the perfect surface for a large number of electrically sensitive cells, widely spaced nostrils, 360 degree vision, and a method for immobilizing their prey, benefitting the shark in several ways. Hope this helps.