Depends on what you mean by "work" and what you think the purpose of college is. That's one point of Louis Menand's recent article, "Debating the Value of College": http://www.newyorker.com/arts/critics/atlarge/2011/06/06/110... and his book, The Marketplace of Ideas: http://jseliger.com/2010/01/21/problems-in-the-academy-louis... . Should college prepare people for work, or for general kinds of abstract thinking? At the moment, colleges do both (and neither).
The other big problem I see is that the word "college" can now mean so many things in so many places that it's hard to compare them. Does a random community college have much to do with a four-year party school, an Ivy-League school, a Midwestern technical school, or a Cal State school filled with first generation students? Probably not.
And even if college only filters students ("Theory one" in Menand's article), it does still serve some kind of signaling function. As you note, "As far as software engineers are concerned, students need to do 2 years of pro work before producing decent code. Yes, 2 years. It is a difficult, painful process for the worker, but the results are fantastic." But most programming jobs do still appear to require a college degree. There's probably a reason for that: even if it is too low a bar, it is still a bar that not everyone can hurdle. People capable enough to be self-taught can hurdle it and, ideally, learn more; those not capable enough can't accomplish even that.
College is great preparation for grad school, which is great preparation for a teaching job. The system serves itself very well, thank you.