If you are choosing between go to community college vs. not have any schooling at all, you should definitely take at least some classes at community college. It is definitely a good option, depending on your circumstances:
1) Getting your basics done in community college could save you a ton in not taking out as much in loans.
2) If you're still unsure of what to major in or what your career path will look like, you might want to take some time to explore in community college. It might help you save money and facilitate a speedier graduation if you did your self-exploration at a community college.
3) Do you want to stay closer to home? Community colleges are generally more local to where you are compared to universities. This may be a factor if you want to live at home to save money or simply want to be closer to family for a few more years.
Universities generally have more resources and opportunities to do whatever you want, which is why it's nice to transfer in as soon as you can. However, going to a community college for the first year or two is probably more beneficial financially as you would have less debt overall.