It's quite similar to guitar solos, only with programming you have to use your brain. The most important thing is that it should have some emotional effect on me, rather than just, 'Oh, that's really clever.'
For me, I tend to sit back sometimes and just count my blessings because of how long I've played.
When I perform, it's very personal. I'm sharing things I like, inviting the audience into my room.