Get the latest tech news

Redefining Go Functions


I once wrote a Perl subroutine that would memoize the subroutine that called it. That much was useful, but then it inserted a copy of itself into the caller, so that its callers would be memoized too.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of functions

functions

Related news:

News photo

GNU C Library 2.43 Released With More C23 Features, mseal & openat2 Functions

News photo

When functions dissolve (2020)

News photo

Hilbert space: Treating functions as vectors