I've heard the German educational system steers students in these directions early in high school. When I was in high school, we used to have vocational and college prep paths, but they've since ditched that in an effort to "leave no child behind." Now we have a glut of students graduating from community college in a market with low demand for their degrees.
Let's admit that except for being able to transfer those credits to a college of higher prestige, and being granted the same degree from there, community college is of little value. In my area, I can tell you for a fact that the same science and math courses vary greatly in difficulty between the private engineering school I attended, and the local state school. Full-time students knew of this loophole, and took some of these harder classes down the road at the state school.