Real estate tip: Even friends can hold joint title

What happens if I want to buy a house with someone who is neither a spouse nor a relative?