When I bought my house, I asked the home inspector if he did any general contracting. He said he used to, but disliked the pressure and responsibility. He enjoys doing home inspections because they are discrete units of work:
- he sets his own schedule
- an inspection takes a predictable amount of time
- he writes up his report within a day of an inspection
What kind of similar shift in career could a software engineer make? As far as I know, there is no such thing as a full-time "code inspector", and answering questions on StackOverflow doesn't pay. I found this article about Knowledge Piecework but it does not have many specific examples.