this sort of jobs program is just welfare with the caveat that you have to be somewhere 40 hours a week. this helps workers save face. but the result is the same: value is being taken from one group and being used to prop up another. whether society as a whole benefits from such a safety net is a whole nother argument and I won't argue about the rightness or wrongness of such a plan here. but trying to transmorgrify the issue to obscure the means and ends is awful.
Loans (deficits) shift expenditure from one time to another. Welfare and welfare-like policies funded by deficits (loans), in this branch's context of counter-cyclical policies, don't "take value from one group" and use it to "prop up another". They reduce consumption from the future, where hopefully we're richer, and increase consumption today, via loans.
in the other case, where investment is made in a wealth producing venture, why is government needed? the only reason money isn't available for sound investment will be due to malinvestment brought about by shitty incentives in the first place.
also, WRT transferring future wealth to the present:http://unqualified-reservations.blogspot.com/2008/09/maturit...
If you don't agree with this kind of macroeconomic reaction then that's the argument you should be making. To disagree with these loans because they can't possibly turn a profit just misses the point.
But if the government spends money hiring unemployed and underemployed people to do jobs, even so crude a job as dig holes and refill them (though of course that's not particularly efficient, as it doesn't build capital), it can either take that money out of the system at a later date (i.e. deficit spending) or inflate it away via seigniorage. The point being that the shift in spending is temporal. And that's precisely what you want in a recession.