There is little to like about the tentative agreement between Congressional leaders and the White House except that it happened at all. The deal would avert a catastrophic government default, immediately and probably through the end of 2012. The rest of it is a nearly complete capitulation to the hostage-taking demands of Republican extremists. It will hurt programs for the middle class and poor, and hinder an economic recovery.

It is not yet set in stone, and there may still be time to make it better. But in the end, most Democrats will have no choice but to swallow their fury, accept the deal and, we hope, fight harder the next time.

For weeks, ever since House Republicans said they would not raise the nation’s debt ceiling without huge spending cuts, Democrats have held out for a few basic principles. There must be new tax revenues in the mix so that the wealthy bear a share of the burden and Medicare cannot be affected.

Those principles were discarded to get a deal that cuts about $2.5 trillion from the deficit over a decade. The first $900 billion to a trillion will come directly from domestic discretionary programs (about a third of it from the Pentagon) and will include no new revenues. The next $1.5 trillion will be determined by a “supercommittee” of 12 lawmakers that could recommend revenues, but is unlikely to do so since half its members will be Republicans.