Golf balls have dimples because it improves its flight. When a golf ball is hit, air clings to its indentations and creates turbulence which increases its speed. Not just that it decreases the chance of separation of air from the surface of the ball which is important for a good flight.
If a golf ball doesn’t have dimples, the air around the ball will have no turbulence and the air will quickly separate from the surface of the ball. In this case the golf ball will cover reduced distance at a slower pace.
Dimpleon agolf ballcreate a thin turbulent boundary layer of air that clings to theball'surface. This allows the smoothly flowing air to follow theball'ssurface a little farther around the back side of theball, there by decreasing the size of the wake