Tom really hits the nail on the head. The overarching issue is whether a diver chooses primary or alternate donation. And, there is not universal acceptance of one over the other.
After that choice is made, the hose lengths are chosen to fit the diver's preference. Over the years, I became a very definite advocate of primary donation, and I have set up my recreational rig much like my technical rig, with a fairly long (7') primary hose and a short alternate hose (22") that allows me to position my alternate just below my chin on a bungee necklace. I also have a reg set up with a 40" primary and a 32" alternate hose, which I like to use for pool teaching (I happened to have a regulator with those hose lengths so all I had to do was change hose positions on the first stage, add a 70 degree fixed angle adapter to the - now - primary hose, and put a bungee necklace on the - now - alternate).
One reason that I like a 7' hose on my recreational reg is that I like diving with my wife, but I use more air than she does, so we usually end up sharing air - from her cylinder - during a dive to maximize our mutual dive time. Using a 7' hose is great, and allows us far more freedom of movement than a 40" hose does.