bf is 100x better.
its all preference though. if you like unrealistic teenage based wanne be shooters than cod is for you.
if you dont want to waste your time with kiddie games, get battlefield. i have played so many of their games and each and every one is great. IMO, they have the best shooters out there. It is much more squad and teamwork based rather than just running around like a chicken with its head cut off.
*sparknotes*
cod sucks
battlefield rocks
(also, this is coming from a guy who has spent about 20 days on cod 4, 8 days on world at war, and a few days on mw2)
edit: i just realized i should also include this. another reason bf has been a better experience for me is because i play bf on pc and ive only played cod on consoles. pc players are much more tolerable people and are generally older and have actually worked and paid for the system they are playing on.