It's also worth noting that a longer barrel gives a longer sight radius which is usually better when using irons.
I was also under the impression that velocity relative to barrel length depends greatly on the cartidge (and probably powder) being used, with some cartridges experiencing diminishing returns the longer the barrel gets.