Skip to main content
Dessert

Walnut Bars

A baked dessert bar made with butter, sugar, chocolate, eggs, flour, salt, vanilla, and walnuts.

From an old cookbook · modernised transcription
Jump to recipe ↓

Why it works: Chocolate and vanilla are a kitchen classic. They rank in the top 5% of all ingredient pairs, and cooks put them together in 10,020 recipes. Both carry sotolon, which smells curry, maple. The science ↓

Walnut Bars

Oven, in the book's wordsA moderate oven

Ingredients

Directions

Make the batter

  1. Cream the butter, then add the sugar and cream together.

  2. Stir in the melted chocolate, then add the well-beaten eggs.

  3. Sift in the flour and salt, then add the walnuts and vanilla.

  4. Spread the mixture in a greased shallow pan.

Bake and serve

  1. Bake in a moderate oven at 350°F (175°C) for 30 minutes.

  2. Cut into squares while hot and transfer to a cake cooler.

Recipe from a historical cookbook (Internet Archive).

Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.

Explore the science

The flavor team

The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.

  1. Chocolate + vanillatop 5% of all pairs
    Smell alikemoderate
    Cooked together10,020 recipes

    Shared aroma: sotolon (curry, maple).

  2. Sugar + vanillatop 8% of all pairs
    Smell alikelow
    Cooked together35,032 recipes

    Shared aroma: beta-damascenone (apple, rose).

  3. Vanilla + walnuttop 10% of all pairs
    Smell alikestrong
    Cooked together2,730 recipes

    Shared aroma: eucalyptol (eucalyptus, herbal).

  4. Chocolate + walnuttop 10% of all pairs
    Smell alikemoderate
    Cooked together1,548 recipes

    Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).

  5. Butter + flourtop 12% of all pairs
    Smell alikelow
    Cooked together124,287 recipes

    Shared aroma: isobutyraldehyde (malty, green).

Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.

Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs

What each ingredient does

Butter
Creams with the sugar to trap air and add richness and tender texture.
Eggs
Bind the batter and add structure and moisture as they set in the oven.
Flour
Provides the structure that holds the bars together as they bake.
Chocolate
Adds deep flavor and fat, giving the bars a rich, fudgy character.
Sugar
Adds sweetness and helps create a tender crumb with the butter.

The step that matters

Cut into squares while hot. Cutting while the bars are still warm can make them crumble, since the structure firms as it cools. Letting them cool until set gives cleaner, more stable squares.

Swap the walnut

How well each one fits the dish's main ingredients (butter, sugar, chocolate, egg, flour, vanilla):

  1. Almondfits better
  2. Hazelnutfits better
  3. Macadamia nutfits better
  4. Walnutthe original

Fit is the average pairing score against butter, sugar, chocolate, egg, flour, vanilla. Candidates are from the same food group and used in at least 100 recipes.

“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.

More walnut bars recipes

You might also like