I don't think they work at all in any economy. In a communist or socialist economy there is no need for them at all. And in the capitalist economy, they just get outsourced by larger businesses and end up needing a purposeful effort from the community, or government help, to say afloat.

I could go into more depth, but I don't feel like debating points everyone already agrees with/doesn't care about.