I've never done it, but I would be open to it. My dream would be to settle down with a company that is past the start-up stage, but not so mature that it has stopped growing. A pre-IPO company might be good, but that's not essential. I like new code better than patching old code. I'd like to work from home at least part of the time.
Scientific applications can be very interesting.
System programming is often more interesting than application programming. Compilers and artificial intelligence are two things that interest me. Testing is not as interesting as developing. It would be nice to travel to foreign countries. I'd be willing and able to learn any foreign language.