It definitely varies greatly by style. A Russian Imperial Stout is going to age much nicer than an American Wheat, for example. General rule of thumb is the darker and stronger, the better for aging. It's worth setting a few beers aside and experimenting. People can spout stuff all day about aging, but you don't really know until you start tasting.