As the US presidential campaign has gone along, a strange sensation has come over me, a conservative American commentator: I miss Barack Obama. Now, obviously I disagree with a lot of Obama's policy decisions. I've been disappointed by aspects of his presidency. I hope the next presidency is a philosophic departure.
But over the course of this campaign it feels as if there's been a decline in behavioural standards across the board. Many of the traits of character and leadership that Obama possesses, and that maybe have been taken too much for granted, have suddenly gone missing or are in short supply.
Obama visits mosque to promote unity
Three Anzacs buried in France
Munich shooting: 10 killed, including gunman
Inquiry over 2015 Texas police stop
Munich shooting: The view from Munich
Clinton picks Tim Kaine for VP
The amazing story of documentary 'Jihadi Selfie'
Inside Vietnam's 'forest bridge'
Obama visits mosque to promote unity
President Barack Obama makes his first visit to a US mosque, a trip the White House admits is aimed at countering rhetoric from Republicans on the campaign trail.
The first and most important of these is basic integrity. The Obama administration has been remarkably scandal free. Think of the way Iran-Contra or the Lewinsky scandals swallowed years from Reagan and Clinton.
There's been very little of that from Obama. He and his staff have generally behaved with basic rectitude. Hillary Clinton is constantly having to hold defensive press conferences when she's trying to explain away some vaguely shady shortcut she's taken, or decision she has made but Obama has not had to do that.
He and his wife have not only displayed superior integrity themselves, they have mostly attracted and hired people with high personal standards. There are all sorts of unsightly characters floating around American politics, including in the Clinton camp and in Governor Chris Christie's administration. This sort has been blocked from team Obama.
Second, a sense of basic humanity. Donald Trump has spent much of this campaign vowing to block Muslim immigration to the US. You can only say that if you treat Muslim Americans as an abstraction. Obama, meanwhile, went to a mosque, looked into people's eyes and gave a wonderful speech reasserting their place as Americans.
He's exuded this basic care and respect for the dignity of others time and time again. Let's put it this way: Imagine if Barack and Michelle Obama joined the board of a charity you're involved in. You'd be happy to have such people in your community. Could you say that comfortably about Ted Cruz? The quality of a political leader's humanity flows out in the unexpected but important moments.
Third, a soundness in his decision-making process. Over the years I have spoken to many members of this administration who were disappointed that the president didn't take their advice. But those disappointed staffers almost always felt that their views had been considered in depth.
Obama's basic approach is to promote his values as much as he can within the limits of the situation. Bernie Sanders, by contrast, has been so blinded by his values that the reality of the situation does not seem to penetrate his mind.
Take health care. Passing Obama-care was a mighty lift that led to two gigantic mid-term election defeats. Obama-care took coverage away from only a small minority of Americans. Sanders-care would take employer coverage away from tens of millions of satisfied customers, destroy the health insurance business and levy massive new tax hikes. This is epic social disruption.
To think you could pass Sanders-care through a polarised Washington and in a country deeply suspicious of government is to live in intellectual fairyland. Obama may have been too cautious, especially in the Middle East, but at least he's able to grasp the reality of the situation.
Fourth, grace under pressure. I happen to find it charming that Marco Rubio gets nervous on the big occasions — that he grabs for the bottle of water, breaks out in a sweat and goes robotic. It shows Rubio is a normal person. And I happen to think overconfidence is one of Obama's great flaws. But a president has to maintain equipoise under enormous pressure. Obama has done that, especially amid the financial crisis. This is now an open question about Rubio.
There is a tone of ugliness creeping across the world, as democracies retreat, as tribalism mounts, as suspiciousness and authoritarianism take centre stage.
Fifth, a resilient sense of optimism. To hear Sanders or Trump, Cruz and Ben Carson campaign is to wallow in the pornography of pessimism, to conclude that the United States is on the verge of complete collapse. That's simply not true. The US has problems but they are less serious than those faced by just about any other nation on earth.
People are motivated to make wise choices more by hope and opportunity than by fear, cynicism, hatred and despair. Unlike many current presidential candidates, Obama has not appealed to those passions.
No, Obama has not been temperamentally perfect. Too often he's been disdainful, aloof, resentful and insular. But there is a tone of ugliness creeping across the world, as democracies retreat, as tribalism mounts, as suspiciousness and authoritarianism take centre stage.
Obama radiates an ethos of integrity, humanity, good manners and elegance that I'm beginning to miss, and that I suspect we will all miss a bit, regardless of who replaces him.
David Brooks is a columnist with The New York Times.