Skip to content
quotesby

About this quote

What does it mean?
The speaker jokes about turning everything into a closure to get a general garbage collector that uses less memory.
In plain terms
Make everything a closure for a memory‑saving garbage collector.
What can you take from it?
Beware of over‑engineering solutions for memory management.

Where it applies

  • software design
  • performance tuning

Putting it to work

  • profile memory
  • avoid unnecessary abstractions

Questions to consider

  • When is a closure the right tool?
  • What are the trade‑offs of using closures for memory?

Another view

Closures can add overhead and complexity.

More from Larry Wall

  1. The code also assumes that it's difficult to misspell 'a' or 'b'. :-)

    Permalink to quote #155
  2. People who understand context would be steamed to have someone else dictating how they can call it.

    Permalink to quote #157
  3. Double *sigh*. _04 is going onto thousands of CDs even as we speak, so to speak.

    Permalink to quote #154

Related quotes

  1. I might be able to shoehorn a reference count in on top of the numeric value by disallowing multiple references on scalars with a numeric value, but it wouldn'…

    Larry WallLarry Wall quote #298
  2. Carlson: Give me the chronology of the kiss. How did you decide to kiss Madonna? Spears: Actually, in rehearsals it wasn't something like 'This is what we're g…

    Britney SpearsBritney Spears quote #2
  3. To add speed, add lightness.

    Colin ChapmanColin Chapman quote #4