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?
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?