Taking aim at real estate is not the way to generate growth.

The federal government can give housing and the economy a boost by taking a page from the last time the country had a big inventory shortage. After coming home victorious from World War II, American troops were ready to enjoy life, and they didn’t disappoint. They gave us the baby boom and the economic boom.

Many returning soldiers were in their prime years for household formation. The result: tens of millions of babies born in just their first few years back. The numbers show a birth rate of around 110 to 120 per 1,000 women, up from around 75 per 1,000 women prior to the war.

Just as consequential was the housing boom. Private residential investment, mostly arising from new home construction, went from $3 billion a year over the five years prior to the war to $16 billion a year for the five years immediately following.

The contribution of home construction to the country’s gross domestic product rose from less than 1 percent to more than 5 percent. Consequently, GDP grew at an incredible rate of 8 percent in both 1950 and 1951. Jobs and incomes rose significantly as a result and federal tax revenue in those two years tripled and quadrupled.

What’s happening now? Congress is mulling over the mortgage interest deduction. Commercial real estate could get whacked by a change in the tax status of 1031 like-kind exchanges. Mortgage accessibility is being closely scrutinized even though default rates are running at historic lows. Capital at the secondary mortgage companies, Fannie Mae and Freddie Mac, is rapidly being drained off by the Treasury. Why harm real estate and economic growth at a time when, like the postwar period, home inventories are well below demand?

A better decision involves recognizing the massive housing shortage we have in this country from a decade-long underproduction of homes. We need more construction. An economic boom, not unlike the one we had almost 70 years ago, could result.