Moving pawns which are defending the king Is f4 a good move here?

 [Title ""] 
 [SetUp "1"]
 [FEN "r2qk1nr/pbp3pp/1p2p/4b/4P/2N/PPP2PPP/R1BQ1RK1 w - - 0 1"]

 1. f4


On the one hand, many times you would move like this way to attack some pieces - sometimes to f3 or to f4. On the other hand, I feel that I leave open my king.

What are the disadvantages/advantages of this move?
There are no advantages.

The really big disadvantage is that after:
1. f4 BxN
2. bxB QxQ
3. RxQ Bxe4
you are completely lost, a clear piece down with no compensation whereas after 
1. Qh5+ Kf8 
2. QxB
you would have been a pawn up with a much better position.