Golf courses near residential communities will often have fences exceeding 20 feet in height in order to prevent struck balls from flying out of the course and into the windshields of cars and windows of houses near the course.