I argue that the examples--preferably more than one--should
always precede the idea, principle, or definition. A fitting audience, then, will arrive at/or could smell the actual idea themselves, before it's presented.
(It's also my plea to mathematicians/academics: please, give us more examples before you hit us with your formula-heavy artillery).