This is configurable in Waze at least. There's a "Avoid difficult intersections" option in the Navigation settings.
Waze will take you on the shortest route - every time - even if that means cutting through a suburb taking the least amount of time to get to the destination. GMaps sticks to main roads as much as possible.