This question already has an answer here:

Don't touch that dog it will bite.

(it is a threat so "will" seems to be better), but will "going to" be also valid? And what is the difference between both forms?

Is the threat surer than going to intention, "going to" is it nearer in time than "will"? In this case, does "will" mean it is hundred percent sure (i.e., "he will bite" there is no doubt)? But with "going to", could it be that he won't do it (i.e., it is a possibility)?

Will it be the same for a bomb?

Watch out! The bomb {will / going to} explode.

I think the first one is better. Is it a question of probability as in the dog example?

marked as duplicate by James K, Community May 12 at 18:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.