maybe for men, it's fine, but women live in a distinctly predatory environment, so that kind of thing isnt always welcome.
in college, I was known for being a flatterer and I used to say all sorts of dirty compliments to my female friends because I knew they were all right with it. but now in the real world, I usually just stick to complimenting people's nail polish if i think they're cute.