Pfft! Both games are awesome! How is World in Conflict a waste of computer code? I personally find it nicely polished and great game play. One thing I wish CMSF would steal from WIC, is the camera controls!
But anyways WIC is a great game if you just want to drop into a server play a couple of games and utterly destroy the environments around you, use nukes, everything looks so well done in the game, I question if you played it for longer than 3 seconds(Perhaps you were going in thinking it was supposed to be an ultra realistic RTS sim).
Now CMSF, while imo, not as polished as WIC it is a whole different game and is one of the best(if not the only) realistic modern RTS sim. You can setup any scenario you like, and analyze what yo u did right and wrong and see how you will improve next time.
So, in conclusion World in Conflict is a game made purely for fun and it is! CMSF is a game made for realism and is fun for that. I would suggest being opened minded about video games instead of "omg this is not realistic, uninstall!".
Rant over, buy both.