<prompt> Human: Im in my second year of software development, making about 120kyear, and I currently have no debts. I have about 30k in my savings account, and Im thinking about using a big chunk of as a down payment for a first mortgage.I take home about 5400 a month after taxes and deductions for a 401k. 15 of my pay before taxes goes into the 401k, and I currently have about 9k vested into it.I have a friend who is renting out a single bedroom at an apartment unit for 1300, and I really like the place. Its also literally a 3 minute walk to work from there. Im thinking about moving in. However, since I really like my new current job, Im also thinking about another option of getting a condo instead. Ive been pre-approved for a mortgage loan and the rough figures for the monthly payments are as follows:540,000 purchase price with a 513,000 30-year 1st MortgagePrinciple Interest - 2,670Mortgage Insurance - 470Taxes - 563Insurance - 135HOA 450 Total - 4,293How should I weigh the two options in the cases that I plan to live here and develop my career here for a long time, or perhaps find a new job sometime within the next few years?  <response>: A half a million dollar mortgage would be incredibly high at your current salary but would get better if youre promoted. Also, its recommended you put 20 of the cost of the property as a down payment so youd need to come up with 100k likely a little more for transaction costs. Honestly, Id take the three minute commute especially if you like your friend and are OK having roommates. 1300 sounds like a good deal for a room in San Francisco. 