What is the horseshoe theory and is it true?

The US representatives sitting in a horseshoe shaped congress

The last few years of political discourse seem to suggest a rise in far-right and far-left extremism. This rise has popularised an old theory by a french philosopher, which states that both ends of the spectrum are similar. The theory critiques the straight-line representation of the political spectrum and provides justification for more of a horseshoe shape.