Saturday, January 30, 2010

Some thoughts on free markets

I'm certainly not a pro economist - but who would want to have been these days? But at least thinking about economics is kind of a hobby of mine. Since way before the crisis, but of course the last couple years have provided a lot to think about.

I was contemplating this article in the New Yorker interviewing Eugene Fama from the "Chicago School" of economics, in which he's mostly on the defensive.

At base is whether the "efficient market hypothesis" is in tatters after the financial crisis (most recently, but also dating back to 1987).

As the article summarizes the theory: "[it] says prices of financial assets accurately reflect all of the available information about economic fundamentals."

I think there's some things to be said in defense of that. I think the point that can be forgotten is the role of the Government and its presence in the market and what that means.

I've read the point, and am sympathetic to it, that the government bailout of the S&L banks in the late 1980's is what emboldened them more recently leading up to our recent financial crisis. This caused them to under-price risk and to take risks they shouldn't have. In other words, the presence of the Government as a "bailout" agent made it an actor in the market and was part of the "information available about economic fundamentals". Arguments about whether the *recent* bailouts are a slippery slope should remember we were *already* on that slippery slope.

In addition, the presence of Fannie and Freddie in the housing market and the loosening of restrictions on getting loans also made it a factor in the market, one which strongly boosted the demand side of the equation.

Then there's the role of the Government in controlling the cost of credit, another distortion, obviously stimulative during the housing boom.

In fact, as I remember it, and haven't heard much about it until recently, it was the repricing of ARM loans, sub-prime or otherwise, when rates began to get raised that precipitated the financial crisis of the last couple years.

For me this all makes it hard to judge free markets as having been at the root of the financial crisis, the markets not having been free and all.

That isn't to say that Government doesn't have a role, like with regulations such as Glass-Steagal - and it seems like some of that will be coming back. Hopefully we will judge regulation not by "how much" but by "how good".

Saturday, January 9, 2010

Optimizing the Common Case

For some reason I realized yesterday that my behavior of wearing shorts and sneakers all year (in New England, even in winter, and yes even when shoveling snow) is a manifestation of optimizing for the common case.

At some level I knew this, but never quite drew the parallel with writing code.

I, like most people, spend most of my time indoors or between places in a warm car. My dress is therefore optimized to comfort indoors. In fact, in the winter, indoors is usually kept warmer than it is in the summer (not at our house, especially before my daughter came along).

Shoveling the snow in sneakers isn't a problem. I'm always *behind* the shovel after all. I rarely actually have to step in snow above my ankle.

The few minutes I'm generally in the cold just doesn't seem worth optimizing while being too warm the rest of the time.

And it always struck me funny on days where it snowed that people would spend the day tromping around the office space in their boots. All because of half an hour in the morning (likely walking in already shoveled/plowed areas from their car to the door at work).

Of course, conditions can get cold enough, such as with wind in January. But those are outlier cases certainly.

When coding, optimizing for the common case is important to keep in mind. As well as not optimizing too early (before you really know what needs optimizing) of course.

Sitting in my shorts in the winter while coding will now hopefully serve as a reminder of that! At least until I smarten up and move somewhere warmer someday...