My good friend has 2 mantras about humor.

1. Always go for the joke (except when woefully inappropriate).

2. As long as you find it funny, then it was a good joke.