There are multiple schools of thought on this question and most of the time the answer will depend on the person buying the house. How much discipline does the buyer have with money? Do they need help making payments or are they able to make extra payments easily? There are lots of variables that are specific to each situation but here are some things to consider.
Would you rather have a bigger monthly payment for a shorter amount of time? With a 15 year mortgage you have to make big payments each month, no exceptions. If you buy a cheap enough house this could be easy for you. The biggest advantage is saving a ton of money on interest, the biggest disadvantage is the much larger payment that reduces your cash flow.
If you choose the 30 year mortgage and pay only the minimum each month you are looking at twice the purchase price of your home just in interest payments. Do you really want the bank to make that much money off of you? If you are able you should may additional payments in order to whack away at the total interest you’ll pay over the life of the loan.