Goal: open a bottle of soda without it exploding

Which of the following methods is more reasonable for accomplishing this goal?
To make sure your soda bottle doesn't explode when you open it, just slowly, slowly, so, so slowly open the cap. Turn it a little crack and you'll hear the hiss of gas escaping and you might even notice bubbles roiling below the surface. However, if you've opened it juuuuust enough no liquid will be able to escape