I got to thinking about this after I met this guy at one of my cousin's weddings. He was telling me that he was involved in some sort of independent contracting where he did web app development in Chicago. In essence that means that some person was paying him to sit around his apartment and write code that would eventually become a specialized app for a smart phone. It had something to do with some small business in fact, although the details are not really that important. The thing is that you can make good money doing this and you are your own boss. You do not have to get up bright and early and fight the traffic then sit around in a high rise building all day long, you get out of that sort of 9 to 5 drudgery. In fact you can sit around in your boxer shorts eating fritos and watching youtube videos all day, just so long as you get the job done.
Of course that is just the theory. In reality there is more to it than that. You need to be able to sell yourself, which probably means that you have toproduce some work that is good enough to impress potential customers and then you have to convince them that you can do the same thing for them. If you can write code, then that is going to be the easy part. The hard part would be where you figured out how to do it with no safety net and no support team to do all of the other stuff, the stuff that does not involve writing the code. So the theory is probably a whole lot better than the reality would be, because like always the Devil is going to be in the details.See Further