Posner is the sophist, and one that likes to kiss trendy butt. By incorporating all that extra-legal social science mumbo jumbo and personal observations into his jurisprudence he is simply showing his ignorance of the rule of law and its purpose.
I skimmed Posner’s opinion—looks like he thinks that the lawyers for the anti-homo marriage side were ill-prepared.