When the Berlin Wall was torn down a quarter-century ago, there were 16 border fences around the world. Today, there are 65 either completed or under construction, according to Quebec University expert Elisabeth Vallet.
From Israel's separation barrier (or "apartheid wall" as it is known by the Palestinians), to the 4,000-kilometre barbed-wire fence India is building around Bangladesh, to the enormous sand "berm" that separates Morocco from rebel-held parts of the Western Sahara -- walls and fences are ever-more popular with politicians wanting to look tough on migration and security.
In July, Hungary's right-wing government began building a four-metre-high (13 feet) fence along its border with Serbia to stanch the flow of refugees from Syria, Iraq and Afghanistan.
"We have only recently taken down walls in Europe; we should not be putting them up," was one EU spokesperson's exasperated response.
Also Read
Three other countries -- Kenya, Saudi Arabia and Turkey -- are all constructing border fences in a bid to keep out jihadist groups next door in Somalia, Iraq and Syria.
"The one thing all these walls have in common is that their main function is theatre," said Marcello Di Cintio, author of "Walls: Travels Along the Barricades".
"You can't dismiss that illusion, it's important to people, but they provide the sense of security, not real security."
The limits of their effectiveness are visible everywhere.
Migrants still reach their Eldorados. Cocaine still reaches the coffee tables of Manhattan. The fearsome Berlin Wall with its trigger-happy sentries still leaked thousands of refugees even in its most forbidding years.
He cites the Native American Tohono O'odham tribe, whose elders started to die off in apparent grief when the Mexican border fence cut them off from their ceremonial sites.
Di Cintio also talked to Bangladeshi farmers suddenly cut off from their neighbours when India erected the simple barbed-wire fence between them in the last decade. Within a few months, he said, they had started expressing distrust and dislike for "those people" on the other side.