SEN. BERNIE SANDERS (I-Vt.) released a climate plan last week. In his characteristic style, he excited a class of left-wing ideologues — and elicited eye rolls from everyone else.

The proposal calls for $16.3 trillion in new spending over a decade to eliminate the use of fossil fuels in electricity production and transportation by 2030 — nearly 10 times the amount former vice president and fellow Democratic presidential candidate Joe Biden has proposed spending. By 2050, the country would no longer produce net greenhouse gas emissions. At least this latter goal is right. So much else in the plan is wrongheaded.

Mr. Sanders would spend more than $2 trillion to build new wind, solar and geothermal electricity-production infrastructure through government-run utilities. He would spend another $2 trillion buying people electric cars. Though he proposes totally electrifying car and truck transportation, he also wants to spend $607 billion linking U.S. cities with high-speed rail, which, under his plan, would represent a major cost for meager carbon benefits.

Mr. Sanders insists that his plan would be paid for through new taxes levied against fossil-fuel companies, cuts in military spending and new income tax revenue from the jobs he claims his plan would create. The senator promises 20 million “good-paying, unionized jobs.” Only about 6.1 million people are unemployed in the United States. Though some currently employed Americans could try to trade up to the cushy gigs envisioned by Mr. Sanders, many of them would not have the skills required to weatherize homes or install solar panels.

Mr. Sanders also promises to make his plan unnecessarily expensive by ruling out a long-established source of carbon-free electricity: nuclear power. Not only would he halt the building of new plants, but he also would deny re-licensing to the existing ones that now provide about 20 percent of the nation’s electricity.

As with practically every grandiose program Mr. Sanders proposes, we are left wondering what the democratic socialist would actually do as president. Nothing resembling his climate plan could pass Congress, even with a strong Democratic majority. Mr. Sanders typically retorts that he will lead a political revolution. But he will not change the fact that the nation is ideologically pluralistic.

On climate policy, the key is to get the most bang for the nation’s buck. The task is so large that direct government spending on projects such as power plants is a recipe for unconscionable waste. Mr. Sanders’s promise to divert national wealth into proven boondoggles such as high-speed rail is another red flag.

No central planner can know exactly how and where to invest for an efficient and effective energy transition. That is why economists continue to recommend that the government take a simple, two-pronged approach: invest in scientific research and prime the market to accept new, clean technologies with a substantial and steadily rising carbon tax. People and businesses would find the most effective ways to avoid the increasingly high, tax-inflated costs of using dirty fuels. Maybe that would mean building huge new solar farms throughout the country. Maybe it would mean massive energy efficiency gains driven by home retrofits or new appliances. Maybe it would mean continuing to accept some role for nuclear power.We do not know, precisely, what the most efficient path looks like. We are also certain that Mr. Sanders does not.