Paul Boyd personal blog

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. A well-placed call to aggressively_memoize could back-propagate to the whole codebase, spreading functional purity…
Points
104
HN comments
29
Submissions
1
Cited by
0 commenters

Programming LanguagesSoftware Engineering2026

On Hacker News

SubmittedTitle on HNPointsComments
Feb 10, 2026Redefining Go Functions by todsacerdoti10429

More from Paul Boyd

All 5 posts →

Related posts from the same era