If you use your bank's rate by paying in foreign currency then this is usually fair, at most they will add a 1% foreign currency transaction fee.
When it comes to exchanging cash, avoid currency exchanges at places like airports, tourist hotspots, etc. as they will usually offer worse rates than elsewhere.
That’s not the alternative, the alternative is to let your bank or credit card processor handle the exchange instead of the terminal operator.