Ted and Barney deal with their Robin issues on How I Met Your Mother. "The Broken Code" is the fourth episode of the show's ninth season.

How I Met Your Mother Season 9 Episode 4 Quotes

Ted: Billy Zabka's your new best man?
Barney: He's the best, around. Sorry Ted, maybe next wedding.

Lily: Face it Robin, you hate women and women hate you.
Marshall: Ted didn't go to his prom? Classic.