It’s amazing that even within the lifetime of the show’s run it felt like attitudes to Barney went from “wahey, hilarious douchey womaniser, what is he like!” to “This man is a danger, he is toxic, he’s functionally a rapist, how can this be funny”.
I obviously can’t defend the show based on him.
But I think the overall narrative, the clever structures, recurring jokes, flashbacks, etc etc were all incredible. And the ending. FIGHT ME.