Typical threaded fastener design is premised around clamping, with not a ton of thought typically given to alignment. Clamping force and stiffness of the clamped members is what the engineering books teach about. Usually for a bolt an nut of the same/similar material and condition you balance out the tensile strength of the bolt vs. the thread shear force of the engagement around 5-7 threads... If one or the other (bolt/nut) is significantly weaker, you can run into instances where significantly more threads are needed to balance out the thread strip vs. tensile limit teeter totter....
But here with rifles we have a hollow bolt (chamber), we're nowhere near tensile limit of the barrel, nor the shear stress for the threads, and while we might be curious about clamping force and stiffness, I think anecdotally anyway, it doesn't seem to matter for our shooting performance metrics...
About the only thing I can think of would be "wheel base" for alignment to the receiver, but this could be accomplished with 5 threads for clamping, a long space of cylinder (unthreaded), and then a conical/tapered interface with the receiver's front end... I tend to think this is categorized in the "theoretically better" file bin... In the real world, my ARC Nucleus 1.0 with its sandwiched lug and .685" tennon held onto a 37" MTU .300 PRC barrel with no problems to report other than it was too fucking long and awkward for convenience.
This reminds me of the fitment of the barrel and receiver on Swiss K31 rifles. There are two cylinders, a smaller one towards the breech, a larger one towards the receiver face (I think the crazy fuckers ground these to very precise diameters). In between them is a threaded portion with a clearance/undercut gap on either side of it, then all the way at the front of the interface is a shoulder. I don't know if it matters, but you can see pretty clear intent that each piece had its roll to play and was separate from the other features. Two cylinders for alignment, threads and shoulder for clamping.
Picture shamelessly stolen from the internet:
\