Agreed, though I’ve found that usually dousing a fly in water (via spray bottle) is enough to surprise them & get them to drop. Once they’ve fallen it takes them a bit to dry themselves & get airborne again, that’s usually enough time to swat it and finish the job.
That works well if you just have one or a few flies - if you’ve got a ton of them fly paper is going to work much better.