We live in a HCOL (Honolulu) and for a few years vowed never to buy a house because the median home price is something like $700k here. But on top of retirement maxes, we saved a pretty good chunk of money ($40k) in our first two years of marriage, and we started looking at what we could get for that as a down payment. We didn't think we'd find anything acceptable, but then there was a 3/2 condo in a neighborhood we liked for $365k, and we decided to go for it.
We closed on the place on our two year anniversary, with a 1.5 year old toddler who had already moved twice in his life. I'll tell you what: as a parent, I really like owning our place. I was a renter for almost 20 years of my life. My husband, too. Both of us have had to move lots of times.
We were subject to the whims of landlords, and even though we generally had ok experiences, it was a hassle. People always say that it's great being a renter because when appliances go out it's not your problem, but for us, it was actually a much worse problem because we had to get the landlord to do something about whatever problem came up. We would have rather just fixed the problem ourselves on our own timeframe with our own money.
I don't really look at our place as an investment because I know the risk involved in buying. But rent here was going up and up. A comparable 3/2 condo in our neighborhood rents for just about the same as our mortgage and HOA fee. We were renting dumpy places for below-market value, which was nice because we could save money, but not much fun with a baby (and now we have another on the way). To get the screaming rent deals we were having to put up with a lot of inconveniences.
There's nothing like having young children to make a person hate inconveniences like no parking/laundromat/horrible attic apartment heat/barking dogs.
Bottom line: if it's possible to stay well within your means (we were approved for an 800K mortgage! Can you imagine?), I think it's worth it to buy a place if you have kids. It's really nice not to have all the renters' problems that we used to. I mean, really nice.