I've owned and shot a number of .300s over the years. In fact, my very first .300 wears a 26-inch medium heavy barrel. I always believed that you needed a long barrel in this cartridge to really enjoy a benefit over a .30-06.
Then I re-barrelled an old Sako with a used 22.5 inch skinny barrel in .300 Winchester Magnum, and my eyes REALLY opened. The result has been a trim, handy rifle that is a joy to carry and point. It wears a Nikon 3.5-10 mildot scope and the balance of the whole package is excellent.
You'd think my accuracy and velocity would suffer with this short, skinny barrel, right?
Well, with top loads of N560 pushing a 180 Nosler Accubond, I'm averaging around 3,070 over the chronograph, with 1/2 m.o.a. for the first 3 to 4 shots -- more than good enough for any hunting. (The muzzle blast is darn near Hiroshima-like, however.)
I even hit the V-bull at 600 metres on an ICFRA target with this rifle and load, just using the third mildot as the aiming mark.
This combo has been absolutely devastating on game so far, as you'd expect.
All of this is a roundabout way of saying that you should make your decision on this matter based purely on questions of balance and portability if this is going to be used for hunting. In some cases, a longer barrel might hang better while in other cases, shorter and lighter is the way to go. In ALL cases, however, handy, well balanced and accurate is far better than cumbersome but more powerful.