Why it works: Butter and flour are a kitchen classic. They rank in the top 12% of all ingredient pairs, and cooks put them together in 124,287 recipes. Both carry isobutyraldehyde, which smells malty, green. The science ↓
Pineapple Cake Filling
Ingredients
Directions
Make the filling
Beat the egg until light.
Add the pineapple juice.
Mix the flour and sugar together.
Add the mixture to the egg mixture.
Add the butter and salt.
Cook and finish
Cook in a double boiler until thick like paste.
If using candied pineapple, add it when the mixture is cold.
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.
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + sugartop 15% of all pairsSmell alikemoderateCooked together92,116 recipes
Shared aroma: phenylacetaldehyde (hawthorne, honey).
-
Egg + flourtop 15% of all pairsSmell alikelowCooked together106,462 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Butter + pineappletop 17% of all pairsSmell alikemoderateCooked together1,134 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Egg + buttertop 17% of all pairsSmell alikemoderateCooked together118,967 recipes
Shared aroma: decanal (soap, orange peel).
Butter and flour barely smell alike, yet cooks put them together in 124,287 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
- Eggs
- Thicken and set as they heat, giving the filling structure and body.
- Flour
- Its starch swells and thickens the filling as it cooks.
- Butter
- Adds fat for richness and a smooth, tender texture.
- Sugar
- Adds sweetness and balances the tartness of the pineapple juice.
- Pineapple juice
- Adds moisture and fruity flavor to the filling.
The step that matters
Cook gently in a double boiler until thick. Egg thickens with gentle heat and can curdle or scramble if overheated. Flour starch must cook fully to thicken and lose its raw taste, so the filling should reach a thick, paste-like texture.
Swap the pineapple
The recipe marks pineapple as optional. How well each one fits the dish's main ingredients (egg, butter, flour, sugar):
- Raisinfits better
- Vanillafits better
- Figfits better
- Pineapplethe original
Fit is the average pairing score against egg, butter, flour, sugar. 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.
Pineapple Sherbet116 recipes
Pineapple Pudding72 recipes
Pineapple Cream58 recipes
Pineapple Jelly39 recipes