A coder's guide to coffee

By tmoertel

As most software and creative professionals know, coffee is an important technology for boosting mental acuity and maintaining peak on-the-job performance. But did you also know that coffee can be a damn tasty beverage? It's true. All you need is the appropriate amount of disrespect for the mainstream coffee industry and a desire to enjoy a better beverage. So read on, and learn the secrets to great coffee.

First things first. Mainstream coffee sucks, and specialty coffee mostly sucks. The former is primarily stale, low-quality, high-yield beans, many times robustas, foisted off in supermarkets to a largely unknowing public. The latter isn't so much coffee as it is flavorings, sweeteners, and milk; what coffee is sold is often neither "special" nor properly prepared -- it's usually charred to serve as a bitter background for sweet flavorings. A few specialty coffee purveyors, however, do sell good coffee, and I'll show you how to find them, but most are happy to sell you stale beans whose dead taste is hidden behind raspberry-caramel flavorings. Buyer beware.

Nevertheless, good coffee is good, great even, all by itself. It's also dirt cheap and easy to make. Therefore, don't settle for a cup of crappy coffee -- make a cup of the good stuff for yourself.

The coffee quick course

If you follow these three guidelines and do nothing more, you will enjoy coffee better than you can find in most specialty coffee shops: The first two guidelines strike at the nemesis of good coffee -- staleness. Stale coffee is dead. There is no way to get a good cup from it. Sadly, most of the coffee you buy in stores is stale before you get it home. While green (un-roasted) coffee beans can stay fresh for 2 years, roasted coffee goes stale in under 2 weeks, and ground coffee goes stale in a few short hours because of the immense surface area it exposes to the staling effects of air. Special "freshness preserving" packaging doesn't help much either; it's mainly a marketing gimmick. The only reliable way to get fresh coffee is to know when it was roasted.

Therefore, when you buy coffee, buy it from a local purveyor who can tell you when it was roasted. If a coffee purveyor can't or won't tell you when their coffees were roasted, find another purveyor. And when you buy your coffee, buy it whole bean. Store it in a cool place. Use it or throw it out before it goes stale.

Also, get a grinder. An inexpensive ($15) blade grinder ("whirly-bird") is sufficient for making drip coffee and lets you grind fresh just before brewing. There is no reason not to have one.

The third guideline addresses another common flavor-denial attack: Low-temperature brewing. Most drip coffee makers brew at a temperature too low for proper flavor extraction. The most frequent explanation that I've heard for this sad yet pervasive flaw is that "really hot" coffee is a lawsuit waiting to happen, and thus manufacturers have lowered brewing temperatures accordingly. Whatever the reason, the effect is a cup of lifeless coffee.

So what is the right temperature? Just off the boil works well. Put a kettle of freshly drawn, cold water on the stove. When it boils, pour it over your freshly ground coffee.

Since you'll be using a "pour over" technique, you'll need a pour-over brewing apparatus -- either a French press or a $5 pour-over filter holder, found in most supermarkets. Use the former if you enjoy the stronger flavors of unfiltered coffee. Use the latter if you prefer the convenience of a filter. Both are small enough to take to work and the filter holders are cheap enough to leave there.

And that's how you make great coffee. If you think that's too much effort, at least you can use the knowledge to find coffee shops that use fresh beans, grind them just before brewing, and brew them properly (most commercial brewers do use proper temperatures, thank goodness).

Oh, there's more

If you follow the advice above, you will drink great coffee for the rest of your life. For some people, that's enough. For other folks like me, that's just the beginning. Whether it's the beginning of a fun, inexpensive, and gastronomically rewarding hobby -- or the beginning of an obsession -- doesn't really matter. What does matter is that you have the opportunity give up bad coffee and start drinking the good stuff. Why not start now?

Home roasting

Roasting your own coffee is simple and provides three major benefits. First, you can buy your coffee green and store it for over a year. Second, you can roast your coffee as you need it, so you'll always have fresh beans. Third, you can experiment with a wide variety of beans, blends, and roasts to enjoy coffee that you could never find in a store.

A further benefit is that green coffee is less expensive than roasted coffee. By home roasting you'll not only have better coffee and more control but also more money in your pocket.

To roast your own coffee you will need two things: green beans and a roaster. The beans can be purchased online at places like Sweet Maria's (where I get most of my beans) and locally from the better coffee shops in your neighborhood. A roaster can be had for as little as $5 -- buy an old hot-air popcorn popper at a garage sale. That's what many folks on alt.coffee use for their roasting. If you prefer a less adventurous solution, there are many home roasters now on the market for $100--$300. I use a $150 Hearthware Precision roaster, and it works well. Just drop in a scoop of beans, dial in the desired roast, and press a button.

Yes, it's that easy. And, yes, it's better than most pre-roasted coffees you can buy. Nothing smells as good as freshly roasted beans. Nothing tastes as good when brewed. Once you try home roasting for yourself, you will understand.


If you want to experience the concentrated essence of coffee, you must drink espresso. Good espresso. Unfortunately, practically none of the specialty coffee shops and chains in the United States knows how to prepare espresso properly. If you want good espresso, you'll have to make it yourself (or take a trip to Italy).

Unlike the advice I provided earlier, which is simple and just plain works, making good espresso is difficult. Finding the right combination of beans, grind, packing, pressure, temperature, and exposure takes practice. It took me months of gradual refinement to learn how to make a truly good cup. After years, I'm still seeking the perfect cup.

Since the perfect cup of espresso is a never-ending quest, I can only point you in the right direction. The rest is up to you. Here is what I can tell you:

Plan on spending > $250 USD on a good pump machine. Steam toys aren't capable of good espresso. Do your homework: Read what people who own the machines say on CoffeeGeek.com's consumer reviews of brewing equipment.

Plan on spending that amount again on a good grinder. Many people buy an expensive espresso machine but skimp on the grinder. Big mistake. Since grind is probably the single most important variable under your control, a grinder must be highly adjustable, produce a consistent grind, and use high-quality burrs set in a rigid enclosure. These features don't come cheap. When shopping for a grinder, again, check out the consumer reviews on CoffeeGeek before buying.

Read the alt.coffee wisdom on espresso, ristretto, crema, and tampers. It's also a good idea in general to hang out on alt.coffee. I've learned most of what I know about coffee and espresso there.

If you want to dig a little deeper, you can read my semi-rant about espresso on Slashdot.

Brew well and drink well, my friends

Although coffee is commonly considered a utility beverage, it is an amazing drink when well prepared. Given its ubiquity in software and creative circles, it's likely that you will be drinking a lot of it. So why not prepare it as it was meant to be? Why not enjoy a truly good cup of coffee? If you buy fresh, high-quality beans, grind them on the spot, and brew with hot water, you can't go wrong. And if you decide to try home roasting or espresso, you'll enter a whole new world of flavor and nuance. The rewards are worth the effort.

Whatever else you may do, please don't let the mainstream coffee industries convince you that bad coffee is good. Bad coffee is bad. Only good coffee, well prepared, is good. Insist upon the good stuff.