Ted Mosby's character is a genius satire on the 'hopeless romantic' trope
For a long time, I thought of Ted as a really sweet guy. But after recently finishing the show, I wonder if the person who came up with the ending intended it not to be romantic, but a satire on the 'hopeless romantic' trope. Because that's the only way I'll like the ending.
Ted going back to Robin shows that he never stopped loving her, which seems sweet but rather concerning when you think about it. Did he ever love Tracy more than Robin? Tracy, the woman he married and had two kids with, or Robin, the girl he locked eyes with across the bar and forever became obsessed with? It's not the moving on from Tracy that bothers me, it's the moving backwards by going back to Robin. And when you think about it, the ending showcases perfectly how people like Ted can never move on from a particular person, no matter how hard they try and how much character development they undergo. It takes just one decision, one moment - to undo all that development. The ultimate satire, with Ted being not "the guy who finally got the girl", but the poor guy who fell hard and could never move on.
So yeah, that perspective makes the ending seem like a masterpiece to me. Even the title is a satire for god's sake, as his kids pointed out.