It depends on the country and culture too. Here in Scotland, swearing is basically part of the vernacular, especially if you're in informal terms with each other. For example, if I help out a friend, he might say "ta, you're a good cunt!", and it's a way of saying "thanks".