If you try hitting a fly with something without the tiny holes, air doesn't pass through it, so the fly can feel the air current change and fly out of the way. The holes on a fly swatter reduce air resistance so you can swing faster, and it doesn't press a current towards the fly, so he can't feel it coming