if someone put "my f'ing brakes are f'ing driving me f'ing crazy, the f'ing MF'er of a car is constantly f'ing causing me f'ing problems!" then that is unnecessary and profane.
However, a joke containing a swear word is funny, look at the best comedians, a simple swear word in the right context...