Originally Posted by
lynx
There's not enough acid in coke to cause any noticeable damage. Almost certainly it would be the sugar which was the culprit, and that would be true of most soft drinks.
It's often surprisingly easy to repair damage like that, as long as you don't wait for the failure situation. Most parts are more or less waterproof, so careful cleaning with a water and alcohol spray on the directly affected parts does the trick. Of course, in the case of a laptop it could be tricky working out what's affected and getting to them.