Life: Realising that the worst that can happen is almost always "not that much" and that by giving something a go, even if it doesn't work out, you're still a long way ahead of a lot of people.
Programming: Focussing on the end product at least as much as technical elegance.
Programming: Focussing on the end product at least as much as technical elegance.