David Friedman is an anarcho-capitalist, so of course markets are the solution. For marriage, fire brigades, national defence, everything.
But don‘t write him off so hastily. He has genuinely interesting articles [1], and his text book „Hidden Order: The Economics of Everyday Life“ is a more rigourous version of Freakonomics, the Landsburg books etc. This book explained to me the little economic theory I know.
[1] http://www.daviddfriedman.com/Academic/Course_Pages/legal_sy...