Fix global warming or cook dinner on a gas stove?

That’s the choice for people in 13 cities and one county in California that have enacted new zoning codes encouraging or requiring all-electric new construction.

The codes, most of them passed since June, are meant to keep builders from running natural gas lines to new homes and apartments, with an eye toward creating fewer legacy gas hookups as the nation shifts to carbon-neutral energy sources.

For proponents, it’s a change that must be made to fight climate change. For natural gas companies, it’s a threat to their existence. And for some cooks who love to prepare food with flame, it’s an unthinkable loss.