Most golf holes with mesh fences are bad holes, whether the fence exists to protect the hole from the driving range or an adjacent road or other feature from the hole.
But I doubt any of those holes could top a hole where they installed a mesh fence, not to protect anyone from anything, but
to give the golfer something to aim for, because otherwise the hole would be unplayable.
The Lakeside course at Juniper Hills, in the far western Boston suburbs, is generally an okay course. The 14th hole, however, is epically terrible. It's about 200 yards to a green that's mostly surrounded by marsh, and that is way too small and unreceptive given the length of the shot and the nature of the surroundings. For many years, your options were to hit and hope (with a drop area located very close to the green for the nearly inevitable miss) or hit a putter along the 5-yard-wide path from tee to green.
But at some point, the course operators came up with a genius idea for how to make the hole playable. The course's website (
http://juniperhillgc.com/golf/proto/juniperhillgc/course_tour/lakeside_detail/Hole14.htm) explains: "THE TOUGHEST HOLE ON THE COURSE is nearly surrounded by wetlands. The fence ( an obstruction ) behind the green
is a target for those that can't hit the small landing area around the green." (emphasis mine)
And it's true!! The best play off the tee is to drill a long iron at the mesh fence, which is on the back right side of the green and is a pretty big target and chip on from where the ball ends up (usually pretty near the base of the fence, which isn't very bouncy).