It comes down to the kind of shooter you enjoy.
Go here if you want a realistic, objective-driven experience. Be aware that matches aren't quick — with two strong teams, a round can run long. If you've only got 15 or 20 minutes to spare, it's the wrong choice.
If you want a match that's over in ten minutes or less, COD delivers. It's less realistic than Battlefield, but it's the more popular of the two at the moment.
Ultimately it's personal preference and nobody else's call — for what it's worth, the answer here was both.