The octagon barrel is just for looks. Practically speaking, they can actually be detrimental to accuracy. It is harder to make an octagon barrel concentric to the bore. That means the barrel walls may be a different thickness, one side to the other. In rapid fire, the barrel heats up and expands unevenly, throwing the shots to a different point.
That's also why target shotguns have "floating ribs".