I think descriptions about an example should go before the example, and then you can follow the example with discussion, if needed.