In-universe we might consider looking at the analogy of Nelson's Navy in the early 19th Century. The Royal Navy still had ships of the line like HMS Victory (or the fictional HMS Defiant depicted as a painting in "In a Mirror, Darkly") but the young US Navy felt that the faster and more maneuverable frigates like the USS Constitution would be more efficient and usable, and this turned out to be a good decision.
Well, let's avoid that analogy, because this was primarily a size issue at that point. In fact when the US Navy got around to actually building a ship of the line circa 1814, the USS Independence
, nominally a 74-gun two decker was in fact larger than most of the Royal Navy's 80-gun ships and had an actual armament of 90-guns. This was born out of strategic necessity, as the USN wasn't expected to contest superiority at sea, but rather was a "break out" force that would break free out of blockaded ports and try to cause as much havoc among the blockading squadron as possible.