back

by danabramov·13y ago·view on hn ↗
In CoffeeScipt-flavored pseudocode, I'd say

    memoize (f): ->
        cache = { }
        () ->
            h = hash arguments
            cache [h] ? (cache [h] = (f arguments))
And my email would be my username at most popular email service dot com.
1 comments
I don't know CoffeeScript too well, but reading as pseudo-code looks good.

What email do you want me to use?

Just added--

My email would be my username at most popular email service dot com.

Thanks.

sent!
Just received it, thank you.