kottke.org

...is a weblog about the liberal arts 2.0 edited by Jason Kottke since March 1998 (archives). You can read about me and kottke.org here. If you've got questions, concerns, or interesting links, send them along.

kottke.org posts about chef

 

The Chef programming language

I have no idea how to describe the Chef programing language to you, but here is its Hello World program, in the form of a souffle:

Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes

Method.
Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into the mixing bowl. Liquefy contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish.

Serves 1.

Ok, I think I get it now...the programs look like food recipes but act like code when run through the proper interpreter. Mmmm, fibonacci with caramel sauce! (via ben fry)

By Jason Kottke    Dec 18, 2008    chef   food   programming

kottke.org, quickly...

The best way to get a sense of what kottke.org is all about is to head to the front page or check out some random entries from the archives.

Looking for work?

See more on the Job Board.

Tags, tags, tags

Many posts on kottke.org have been "tagged" with keywords, which activity results in collections of related posts like sports, infoviz, or best of.

Recently popular tags (last 3 weeks)

The 2000s (14)    post updates (44)    video (746)    USA (13)    movies (1072)    books (737)    science (634)    lists (646)    food (666)    photography (821)    art (389)    best of (372)    sports (486)    advertising (178)    maps (234)

All-time popular tags

movies (1072)    photography (821)    video (746)    books (737)    NYC (694)    food (666)    lists (646)    science (634)    design (612)    sports (486)    music (405)    art (389)    business (382)    best of (372)    TV (370)

Useful favorites

photography (821)    economics (202)    lists (646)    best of (372)    infoviz (163)    food (666)    NYC (694)    firstworldproblems (4)    cities (135)    restaurants (188)    video (746)    timelapse (3)    interviews (256)    language (272)    maps (234)    fashion (164)    NSFW (63)    remix (207)

Random tags

bryantpark (3)    trends (2)    Christoph Niemann (4)    pancakes (2)    paulgraham (5)    erinmckean (3)    wiimbledon (2)    elbulli (3)    benfordslaw (2)    Apollo (18)    diplo (2)    Freakonomics (14)    racism (31)    2008 recession (32)    economics (202)