@jodiw If one of your goals is to maintain/gain muscle, whether on a calorie deficit or a surplus, never do fasting.
If you enjoy really want to fast because you enjoy it, go ahead, but keep in mind that it is one of the worst methods for achieving a calorie deficit(assuming muscle is important...