The standard hose setup tends to be a 24" hose on the primary regulator, and 36" or 40" on the octopus, which is secured to the driver's body in the "Golden Triangle". This setup is based on the idea that, if you need to provide gas to someone else, you deploy the octopus regulator from wherever you have stowed it. A slightly longer hose makes for more comfortable gas sharing.
The problem with this setup is that both hoses tend to be too long and create big loops out around the diver. If you are diving in any area where there are entanglement possibilities, whether that's in a wreck or cave, or around rocks, through swimthroughs, or in kelp, you can get caught.
In addition, there are those of us who don't like the "donate the octo" approach, because we worry that it's harder to find, often not in known condition, and frequently either won't come out of its retainer easily or has come out a while back, and has been dragging in the sand. For these reasons, we prefer a "donate the primary", or regulator you are currently breathing. Therefore, THIS regular is put on a longer hose, to facilitate gas sharing. (Sharing on a 24" hose is a VERY intimate experience

) This longer hose can be 40" (run under the arm and to the mouth, and often requiring an elbow/swivel to sit comfortably in the mouth). Or it can be 5' (run under the right arm, across the chest, behind the neck and around to the mouth), or 7' (run under a canister light or pocket on the right hip, or tucked into the waistband, and then up across the chest, behind the neck, and to the mouth). The 7' hose came from cave and wreck diving, where it may be necessary to share gas while in true single file. 7' will allow gas sharing between two normal sized adult male divers. 7' really isn't necessary in OW. The 5' hose will route well for most people (unless you are very broad-chested) and doesn't require a pocket or canister to secure the extra length.
When using a "donate the primary" strategy, it is important that the diver have a secondary regulator he can quickly and reliably reach. Some people use an integrated octo/inflator for this, and swear by that strategy. Many of us have stuck with a traditional second stage on a 24" (or shorter) hose, hung on a breakaway necklace around the neck, and riding just below the diver's chin. Should it be necessary to donate gas, that regulator is easy to tip into the mouth with just a couple of fingers. (In addition, should you fall or otherwise need a reg in a big hurry, it's RIGHT THERE! I've saved my own butt a couple of times with my bungied backup.)
So, although it may seem counterintuitive, two different goals are served by using a longer primary hose: streamlining, and more relaxed and facile gas sharing.