I personally think that renting is better. If you find out something bad about the neighborhood or have any house maintenance issues, you can just LEAVE and let the owner deal with everything. If you buy a house, you're trapped unless you foreclose and ruin your credit.
Read more:
Mortgage vs Renting? Which Is Better For A Long Term Situation?