From Appendix XIII of the Concise Oxford Dictionary, 9th Edition–a style guide:
8. Exclamation mark
This is used after an exclamatory word, phrase, or sentence expressing any of the following:
8.1 Absurdity:
What an idea!
8.2 Command or warning:
Go to your room!
Be careful!
8.3 Contempt or disgust:
They are revolting!
8.4 Emotion or pain:
I hate you!
That really hurts!
Ouch!
8.5 Enthusiasm:
I’d love to come!
8.6 Wish or regret:
Let me come!
If only I could swim!
8.7 Wonder, admiration, or surprise:
What a good idea!
Aren’t they beautiful!
[Note that each use is equally-well illustrated by the simpler, and more straight-forward Fuck!, with the possible exception of 8.2 (Fuck off! better?) and 8.5 (Fuck yeah! better?).]