Creative languages
Chef
Chef is an esoteric programming language where programs look like cooking recipes. Variables are ingredients, and control structures are cooking methods. Designed to challenge and amuse programmers.
- Created by
- David Morgan-Mar
- First appeared
- 2002
- Official resource
- Visit the main website
Your first program
Hello, World!
Hello World Cake with Chocolate sauce.
Ingredients.
100 g chocolate
250 g butter
250 g sugar
3 eggs
115 g flour
1 tsp baking powder
Cooking time: 25 minutes.
Preheat oven to 180°C.
Grease a cake tin.
Method.
Put chocolate and butter in a mixing bowl.
Melt until smooth.
Add sugar and eggs.
Beat until fluffy.
Fold in flour and baking powder.
Pour mixture into the cake tin.
Bake for 25 minutes.
Serves 8.
Keep learning
Where to go from here
Use trusted documentation for facts and an AI tutor for personalized explanations.
Official resource
Learn from the source
Continue with the language’s official documentation, project, or standards site.
Open official resourcePersonalize it
Ask your AI tutor
Use a focused prompt covering strengths, tradeoffs, setup, and this first program.
Teach me the basics of Chef. Use https://code.study/chef as the starting point. Explain what Chef is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.
Content reviewed August 2026 · Start with primary sources and verify version-specific details.