Sarcasm is a highly inefficient mode of communication and should be avoided as much as possible.
It's inefficient if your assumptions about the audience are wrong. If you know your audience, sarcasm is highly effective, high-density mode of communication.