I've been thinking about it for years. The only problem is that most programmers seem to be status quo capitalists bordering on libertarian. It might be easier to teach hippies to program than programmers not to be aspirational yuppie SWPLs.
A couple of cults have gotten by on programming and/or web design, Aum Shinrikyo and Heaven's Gate come to mind.
In communes, you don't really do your own thing. I think you're talking about an apartment building where a lot of hackers live that has a hacking room instead of a gym. Or possibly efficiency apartments. Maybe you meant "common kitchen" rather than commune? Like a dorm?
A hostel is just like a hotel, except you usually don't get a room (unless you're willing to pony up an extra $20.) You're just looking for a cheap place to stay, but you don't want it to be scary. Hostels generally are not scary at all, and are filled with mostly pleasant foreigners. They used to have rules that require that you have ID proving that you don't live in the town that you're hostelling in, though; don't know if that's changed at all.
A couple of cults have gotten by on programming and/or web design, Aum Shinrikyo and Heaven's Gate come to mind.