wifi and battery life

I am coming from an android phone to an iPhone 4s. I am wondering if using wifi where available has any positive or negative affect on battery life.
You should turn the wifi off when not using it. There's a thread on here, which lists this as an item to help reduce drain on the battery. I only turn on wifi when at home, but it doesn't have too much of an effect.
In my experience, if there is a choice to use wifi or 3G, I use the wifi. The battery lasts much longer for me. If there is no accessible wifi, then maybe I'll turn it off, but I almost never do. I think any phone will lose charge much faster searching for a 3G connection than searching for a wifi.

Original thread: https://forums.imore.com/threads/wifi-and-battery-life.227949/