<prompt> Human: Im about to move to NYC, and Im trying to figure out whether it makes sense to buy an apartment instead of renting. Im mostly thinking about buying in order to avoid throwing away 2000 a month for rent when I could instead have the possibility of recovering some of that if it goes towards a mortgage.My current financial situation pre-tax: 140k in savings 185k salary including bonus 600k in stock at current value vesting over the next 4 yearsFrom my back of the envelope calculations, it seems like it makes sense to buy a studio or 1br because the mortgage payment would be comparable to rent and I can afford a 10-20 down payment, but since I havent done anything like this before, Im worried Im missing some major downsides of buying. If it makes this much sense, I would expect Id know more people my age in my industry software who own their apartments. I dont know anybody who does. What am I missing?Thanks for your help!  <response>: No youre not missing anything. You lucked out working where you do and have the money to buy. Most jobs dont pay that well including most tech companies.The only downside is an inability to move quicklyeasily and the possibility of losing money if you sell not very likely in NYC if you wait at least a few years before moving. 