are you playing on PC? maybe it's a console issue due to auto-aim. I've been killed a ridiculous amount of time by a sniper more or less directly in front of me. I doubt it's a skill issue only.
I have it on PC and console, though I play a lot more on PS4.
It plays out the same on both pretty much. If a sniper is in close and misses he's dead. If he can manage to do well playing like that he's earned it. You're better off with almost any other gun in the game up close.