It used to be common knowledge — not just among policymakers and economists but also high school students with a grasp of history — that tariffs are a terrible idea.