Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: