Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C versus LISP

Name: Anonymous 2009-05-26 13:44

At McDonalds:
LISP:
(bag (box (fries) (box (burger) napkin)
Burgers are magically handled by George.

C:
struct s_bag bag;
struct s_box fries_box;
struct s_box burger_box;
struct s_sandwich burger;
unsigned int num_fries;
fries_box.contents = num_fries;
burger_box.contents /* TODO: convert s_sandwhich to INT */
...refactor 1.3 jigga-times...


At your PC:
LISP:
How do I think about this problem?

C:
How would a compiler think about this problem?

Name: Anonymous 2009-05-26 14:33

You forgot two closing parentheses in the Lisp code and it makes me very angry.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List