Question: why use a 40mm pancake lens?
Answer: Pancake lenses have several other advantages: From an optical design point of view they are pretty simple, much like a 50mm prime lens. The Canon 40mm pancake lens has six elements, whereas zooms usually have ten to twenty elements. This translates to high image quality and lower manufacturing costs.