Lindsey Kuper (lindseykuper) wrote,
Lindsey Kuper

Rubber duckie, you're the one

Office hours:

Lindsey: Will! Help! It is an utterly insurmountable paradox! I need to be able to recur over this list, but I also need to somehow know what was in the entire original list!
Will: You sure do.
Lindsey: If only I could keep track of the original list, say, by passing it around as an argument!
Will: Yep.
Lindsey: But the procedure is only supposed to take two arguments, so the only way to do it would be to write an entirely different procedure!
Will: Uh-huh.
Lindsey: Woe betide us all! And then I would have to wrap that procedure in the original one, which takes two arguments!
Will: ...
Lindsey: ...oh.
Will: I think you got it.

Tags: b521, programming

  • The Rust object system struggles to its feet (plus, a little brainteaser)

    When I last wrote about my work on Rust a month ago, I had just finished implementing some very basic support for extending Rust objects with new…

  • Redexing

    For the last two weeks at work, my little PLT Redex model of Rust has been taking shape. It's been a lot of fun. I started with lambda calculus,…

  • My first month at Mozilla

    As it turns out, I picked an interesting month to start working at Mozilla. On Tuesday of my second week, Firefox 4 launched, followed by the…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded