Getting a programming job is nice in theory until nobody will hire you. Programming freelance is a nice idea in theory until people on Odesk take your work and disappear. Bootstrapping a startup is a nice idea until you realize you don't have a good idea for one.
I'm ill, got fired from a tech support job I loved because of it, and have tried several times to support myself with coding from home. If I didn't have a loving wife who works hard to provide barely enough to pay rent and have decent health insurance, I might be homeless now. If I didn't have a home or own my own computer I would have even less of a chance.
There's a disconnect between the imagined reality where skill and effort instant translates into wealth and the actual reality where luck or the generosity of others is required.
So no, most of them probably can't.
Most of the formally homeless people I know are now in the food industry. That is because at the shelter I worked at they would rotate who cooks the meal, so all homeless 'in the program' learned to cook, and now they all work at the cheesecake factory.
Which pays enough to live comfortably in my hometown. Don't know how viable it is here in the valley, though, with both higher expenses and more competition.
Please god let this have been sarcastic.
Remember you will need to start from the ground up. "To start the computer -- that machine in front of you -- press the button that is right there"... then, in about a year, perhaps you could teach them to code.
Look at this guy for example: "NYC Homeless Man Learns To Code And Builds App In Four Weeks" http://jobs.aol.com/articles/2013/09/27/nyc-homeless-man-lea...
Want to help? Make a company, hire people at the bottom who need help getting their sons and daughters out of shelters and to school on time at 7:48 am with a full breakfast in them after a good night's sleep. Keep your company going by providing excellent and valuable service to your customers. And when your janitor invites you to his daughter's middle school graduation, put on your best suit and go. Just because a man has darker skin, tattoos, a shaved head, doesn't want to talk about his past, and clams up with a frown and a thousand-yard stare when discussions get heated at the office, doesn't mean he's spending his pay on drugs and hookers. He's probably thinking that his girlfriend needs him to keep his job so he can make the car payment and the rent and buy groceries so he can feed the three year old at home that's watching Curious George right now.
I am actually saying to this person: "go ahead and help out there". I have shown computers to people who couldn't figure out how the damn mouse work!
It makes me wonder the thorough and complete disconnection from reality that much occur for someone to suggest this sort of thing seriously.
I've noticed that techies have a tendency to drift into absolutist thinking, probably because we're so isolated from mainstream society, so our brains, being the wonderful bayesian-esque learning machines they are have relatively a relatively small sample of non-diverse data on the subject. And the abstract world we work in is artificially absolute. And maybe it's partly the type of person that's drawn to this field.
Which is just a complicated way of saying that we're often really crappy at modeling the real world in our heads unless we've forced ourselves to get out there and gather some experience.