I can't really recommend community college for STEM, since at least in my original state, you had to start as a freshman at university even if you had an associate's degree in science that was "guaranteed" to transfer for credit. (The engineering department's justification was "we'll accept your credits, but you still have to take everything over again.") It's a good way to get screwed, and community colleges offer very few second year science and math classes. (The liberal arts people had much less difficulty transferring.)
However, I did learn my calculus and sciences very well because I had excellent teachers that I could ask questions of if I needed to. My physics professor had been teaching for over four decades--and with a small class size of around ~20, I had plenty of opportunity to absorb the material and understand it completely. As a result, I now find myself tutoring my buddy at a $60,000/year private tech college, because my knowledge of the subjects is sound and the quality of the teaching at his school is completely terrible. Interestingly, the homework assignments and test questions are near identical in terms of subject matter covered and difficulty--the main difference is that the private tech college curves, which my professors at my community college were explicitly forbidden from doing.
In my community college, there were a number of professors with incredibly low standards for academic work. However, I tend to think this is a reflection on the level of preparedness of students coming out of high school.
The issue is, and maybe it is sad that it is this way, but it is probably better for people to end up with 1/10th of the education at 1/2 of the price and end up with less debt overall due to what they end up doing with their degrees.
And if you apply yourself, you'll learn no matter where you go. Heck, you'll find plenty on YC who advocate skipping school entirely, so community is a step up from that.