Doglegs allow the architect to control the distance off the tee, this allows for more interesting tee shots, especially in match play where the architect can neuter the bomb-and-gouge player's tactical advantage.
Functionally, I do think the binary of "dogleg" and "straight" is problematic, in that there are wildly different types of "straight" holes and "dogleg" holes. E.g. many "dogleg" holes allow players to cut the corner, acting as an optional forced carry rather than a true dogleg.
In the end Wethered and Simpson convinced me long ago that the dogleg is generally superior when players are concerned with strategy. The idea is whether or not you realize there is a dogleg on the hole you're playing:
Is
the example on the right a dogleg? Is the
road hole a dogleg?