If you're not settled in your career to where you can comfortably take off long stretches of time during the day, you probably shouldn't buy a house. It's generally a bad idea for someone at the beginning of a career. There's so much to learn and it never ends - that's valuable time that could go to refreshing your mind or building up career capital.
There's also the matter of risk. Are you willing and able to handle replacing your air conditioner, furnace, and roof in the same year? If you rent, you call the landlord and have them replace those things. You'll be okay if you have a big savings account or you don't mind putting it on a credit card with a high credit limit. If you've been in your house for two years and you spent everything on the down payment and furniture, you might have trouble sleeping at night.