Is it smart nowadays to go to a community college first and then transfer ?

I started out in CC and now have master’s in nursing, no it 's not CS, but my husband also started out in CC (we met there) and is now an MD