Is buying home today a good investment?

Answer depends on whether goals are short- or long-term