One of the few things I liked about DS9 was that occasionally—albeit not very frequently—the writers would take a jab or two at this philosophy.
In “The Siege of AR-558,” Quark chids Nog on idolizing humans too much…
Or in the episode “Hard Time”…
…Which gives the viewer (this one, at least) the impression that much of the Federation’s “social advancement” is pretty much indoctrination and dogma. Indoctrination and dogma that works; dogma that actually *results in a happy and prosperous society…but that’s still less than ethically pure and true.
Oh, and in an old “Art of Star Trek” book I saw a few years ago, there was a reprinted “Okudagram” computer padd display from an episode where the Federation was conducting negotiations with an alien species, over the rights to use a wormhole. The padd made a reference of “Payment of 1,500,000 Federation credits” ([Cite, with another discussion of Federation ethics and economics](1,500,000 Federation credits)) for the wormhole. The padd was used onscreen, but was too small for a viewer to read. It at least makes the suggestion that the Federation has some official form of currency, if only for use with trading with other “less developed” species’.*
And DS9 writer Ronald D. Moore, on an AOL message board, once said that Starfleet has a secret, transgalactic “slush fund” set up for it’s officers to use when dealing with primitive economies.
This was in response to someone’s question of how Sisko pays for his drinks at Quark’s, if he doesn’t have a salary. It was obviously a joke, but it’s the explanation that I like the most.
*Although, come to think of it, I don’t think there’s ever been any reference to Klingon currency, either. Does that mean that a violent, warlike civilization was still able to eliminate poverty, hunger, and crime? Whoa!