Why it works: Walnut and fig match in chemistry and in kitchens. They rank in the top 4% of all ingredient pairs, and cooks put them together in 373 recipes. Both carry 2-hexenal, which smells green, leafy. The science ↓
Variety Cake
Ingredients
Directions
Make the cake layers
Prepare a batter as you would for coconut cake.
Bake five layers in jelly tins.
For the first layer, mix the batter with rolled walnuts.
For the second layer, mix the batter with fine-sliced figs.
For the third layer, mix the batter with rolled walnuts.
For the fourth layer, mix the batter with fine-sliced figs.
Make the frosting
Beat the egg whites for the frosting.
Gradually add powdered sugar and baking powder to the beaten egg whites.
Assemble and finish
Spread plain frosting on the top and sides of the assembled cake.
Cover the cake with grated coconut.
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.
Photo for illustrative purposes only · Contact us to use it
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.
-
Walnut + figtop 4% of all pairsSmell alikestrongCooked together373 recipes
Shared aroma: 2-hexenal (green, leafy).
-
Coconut + walnuttop 4% of all pairsSmell alikestrongCooked together606 recipes
Shared aroma: 2,3,5-trimethylpyrazine (cocoa, roasted).
-
Coconut + figtop 7% of all pairsSmell alikestrongCooked together88 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Sugar + figtop 16% of all pairsSmell alikemoderateCooked together2,241 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Egg + sugartop 21% of all pairsSmell alikemoderateCooked together122,807 recipes
Shared aroma: 2-nonenal (fatty, green).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Egg whites
- Beaten to form the foam that gives the plain frosting its light, airy structure.
- Powdered sugar
- Sweetens the frosting and helps it set firm once it is combined with the beaten whites.
- Baking powder
- Releases gas to help the frosting mixture lighten and rise.
- Rolled english walnuts
- Add crunch and a nutty flavor to the layers they are mixed into.
- Fine-sliced figs
- Add moisture and natural sweetness to the layers they are mixed into.
The step that matters
Gradually add powdered sugar and baking powder to the beaten egg whites.. Adding the sugar slowly lets it dissolve into the whites and keeps the foam stable. Adding it all at once can collapse the foam and leave the frosting dense and grainy.
Swap the coconut
How well each one fits the dish's main ingredients (egg, sugar, walnut, fig):
- Vanillafits better
- Datesfits better
- Pearfits better
- Coconutthe original
Fit is the average pairing score against egg, sugar, walnut, fig. 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.
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes
Spice Cake344 recipes