We bought a house about two years ago, after renting/being married/living together for one year. So by the time we got to closing, I was 24 and my husband was a couple days from turning 26. It was a hassle and a half (short sale with 2 banks, took 8 months, my job changed in the middle of the approval & we had to have my parents co-sign, lease on the apartment ended & we had to put our stuff in storage & live with family for most of it) but was definitely worth it, I would say now. Our mortgage came out to only about $250 more than the rent on our low-income apartment, and we had help from some of my husband's relatives for the down payment. We couldn't have done it without their help though.
So if you can buy, I think it's a good idea, but you have to be realistic about what you can really afford monthly (we were approved for a loan about $30K over what we would actually be able to handle), how much of a down payment would be, what other costs you'll have (inspection, survey, moving, "omg how did we get to this point and never own a _____").