I used to like the show, and I did enjoy the book, but only from a sociological perspective. (I found it fascinating, the things it says about our society!) However, on a content level, I found it disgusting, juvenille, and pretty pathetic overall.
Like I said, I used to like the show. I used to think Neil Patrick Harris was playing a character that was intended to make fun of people like Barney. However, the more I watched, the more I realised it absolutely idealizes people like that, and he's the hero of the show. He gets shown the most on advertisements on TV. On my college campus, obnoxious guys absolutely love this character.
So maybe it originally was intended to make fun of people like that. Now, however, all it does is harm our society and feed in to the misogynistic ideals that so many young men already have.