Debt can be viewed in many ways. I'm not saying that it's wrong to view debt as another form of financing - like you I studied Modigliani-Miller, just that there are other ways to view it.
My point is only that it's not right to disregard market cap entirely in preference to EV. EV is generally a "more comprehensive" measure of company value, but it doesn't supersede market cap.
EV, for example, is susceptible to distortion between leasing and buying capital assets. For example, a company with big capital assets financed via debt could note that the company would be more profitable if they sold them and leased them back. The company is now more profitable, and its reasonable to say its 'better', but its EV has gone down.
Yes, this is an excellent point. The next-level thing to do when modeling companies that make extensive use of operating leases for capital assets is to capitalize those operating leases, for exactly this reason.
I'm not sure what you mean by this - can you clarify?
> A company that raises money via loans typically has more obligations than one that raises money via equity. Doesn't the option value for repayment count for anything?
Certainly the equity of a highly indebted company will behave differently than the equity of a debt-free company. But "different" isn't necessarily "better". To go back to my company A & B example, if both companies double in enterprise value, the equity holders of company A will get a return of 100% ($1,000,000 profit on capital of $1,000,000), but the equity holders of company B will get a return of 200% ($1,000,000 profit on capital of $500,000). Conversely in a scenario where each company loses half of its value, the equity holders of company A will still be left with half of their money, while the equity holders of company B will be wiped out (to first order - reality is more complicated than this usually).
So in some scenarios the company A equity looks better and in some scenarios the company B equity looks better. Which you prefer overall depends on your individual risk preferences - some people want a higher potential return at the cost of higher risk, some people want less risk at the cost of a lower potential return. There's no objectively "best" structure.
Even for companies with no debt at all you'll see investors who artificially create financial leverage by buying options on the company's equity. Different strokes for different folks, or as my dad likes to say, there's an a$$ for every seat. :)
So I'm wondering how enterprise value prices risk compared to market value.
Consensus on the price of risk, yes. Consensus on risk preferences, no. :) I.e. two people can agree that a one year US Treasury Bill paying 0.50% interest is worth exactly par, and yet come to completely different conclusions about whether they want to own it at that price.
I.e. you're absolutely right about achieving a consensus on how to value an asset, but people's differing risk preferences are a major reason we have markets in the first place - it's not just zero-sum wagering on what will go up and what will go down.
> So I'm wondering how enterprise value prices risk compared to market value.
To the extent a company has debt, the risk (and expected return) of its equity will always be higher than the risk (and expected return) of an identical company without debt: the equity holders have levered up by borrowing and magnified their risk and potential return. I don't know if that answers your question or not, though.
This sort of intuition is seductive, because we're generally told "debt bad, equity good!" But it's not correct, for the very simple reason that debt and equity are, in many ways, fungible: each type of financing can be utilized to replace the other.
To go back to the company A & B example: Company A could decide tomorrow to borrow $500,000 and buy back $500,000 worth of stock. Company B could issue $500,000 worth of stock and pay down its debt. Then, just by shuffling some papers around, the capital structures of the two companies will have been reversed! Yet nothing in the underlying business will have changed for either of them.
But don't just take my word for it! Franco Modigliani won a Nobel Prize for his part in the Modigliani-Miller theorem, sometimes called the "capital structure irrelevance principle" (seriously): https://en.wikipedia.org/wiki/Modigliani–Miller_theorem
It's certainly a complicated subject, but debt is very much a real part of a company's capital structure and can't be ignored when comparing two different companies.