I buy energy drinks, taking pills means you have to have a source of water/drink nearby (unless you take em dry). Also, energy drinks contain taurine (make the caffeine more effective) and B-vitamins (obtain more energy from the food you're eating). I THINK caffeine pills don't contain those.
Do some research into it! You might find something you prefer, everybody's different.