I usually get about $50 or $100 worth of foreign currency before leaving. I like having cash in the pocket when the airplane lands. I can make a small purchase, such as bottled water or a newspaper, without having to hunt down an ATM.
After that, I just withdraw from an ATM as I see the need.