---
title: "Meaning & Key Takeaway of: Well, say you write a handler and it…"
description: "\"“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time to compute. As long as your handler is ..."
image: "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg"
---

#  Well, say you write a handler and it requires a lot of…

![“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time to compute. As long as your handler is chugging along computing, I’m sitting around waiting until it’s done. Only then can I continue with the queue.” quote by Eric Freeman](https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg)   [Download](https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg) [Open image](https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg)

> ““Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time to compute. As long as your handler is chugging along computing, I’m sitting around waiting until it’s done. Only then can I continue with the queue.””

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Highlights the inefficiency of long‑running handlers that block the queue, urging better concurrency or async design.

**In simple terms:** Long tasks block the queue; use concurrency.

Key Takeaway

Design handlers to run concurrently or asynchronously.

Themes

software development performance concurrency queues efficiency

Mood

practical analytical

Type

technical motivational

When to use this quote

- web servers
- microservices
- data pipelines
- real‑time processing
- background jobs

Key Concepts

asynchronous programming system design resource management

Questions to Reflect On

- How can we redesign to avoid blocking?
- What async patterns best fit this scenario?

A Different Perspective

May require significant refactoring and testing overhead.

★ ★ ★ ★ ★   No ratings yet

[Computation](https://sms4smile.com/quotes/about/computation/) [Computers](https://sms4smile.com/quotes/about/computers/) [Queue](https://sms4smile.com/quotes/about/queue/) [Technology](https://sms4smile.com/quotes/about/technology/) [Time](https://sms4smile.com/quotes/about/time/)

## Related quotes

> [“an important thing to know about JavaScript: there’s one queue and one “thread of control,” meaning there is only one of me going through…](https://sms4smile.com/quotes/eric-freeman/an-important-thing-to-know-about-javascript-there-s-one-queue-and-one/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“JavaScript: When an event occurs, like the ones you’ve mentioned, that event is added to a queue. I don’t even look at it until I’ve…](https://sms4smile.com/quotes/eric-freeman/javascript-when-an-event-occurs-like-the-ones-you-ve-mentioned-that/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“At hun er i live er bra, men det er ikke dét det handler om.”](https://sms4smile.com/quotes/nick-hornby/at-hun-er-i-live-er-bra-men-det-er-ikke-d-t-det-handler-om/)

[Nick Hornby](https://sms4smile.com/quotes/author/nick-hornby/)

> [I like Chelsea Handler.](https://sms4smile.com/quotes/angela-yee/i-like-chelsea-handler/)

[Angela Yee](https://sms4smile.com/quotes/author/angela-yee/)

> [“I don’t want you running around with a little banana-handler!”](https://sms4smile.com/quotes/scott-parker/i-don-t-want-you-running-around-with-a-little-banana-handler/)

[Scott Parker](https://sms4smile.com/quotes/author/scott-parker/)

> [I love Chelsea Handler.](https://sms4smile.com/quotes/lauren-conrad/i-love-chelsea-handler/)

[Lauren Conrad](https://sms4smile.com/quotes/author/lauren-conrad/)

> [Evan Handler's new book is simply wonderful. He pulls you inside his life, and you come out his very close friend.](https://sms4smile.com/quotes/neil-simon/evan-handler-s-new-book-is-simply-wonderful-he-pulls-you-inside-his/)

[Neil Simon](https://sms4smile.com/quotes/author/neil-simon/)

> [“Jeg skal alltid handle slik at den regelen jeg handler etter kunne gjelde som allmenn lov.”](https://sms4smile.com/quotes/immanuel-kant/jeg-skal-alltid-handle-slik-at-den-regelen-jeg-handler-etter-kunne/)

[Immanuel Kant](https://sms4smile.com/quotes/author/immanuel-kant/)

> [The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face…](https://sms4smile.com/quotes/verity-stob/the-primary-duty-of-an-exception-handler-is-to-get-the-error-out-of/)

Verity Stob

> [“he had the ability to appear in the background, even if he was standing at the front of a queue.”](https://sms4smile.com/quotes/markus-zusak/he-had-the-ability-to-appear-in-the-background-even-if-he-was/)

[Markus Zusak](https://sms4smile.com/quotes/author/markus-zusak/)

> [My dad took me for an audition once, to show me, OK, you want to be a child actor, this is what its like.…](https://sms4smile.com/quotes/emilia-clarke/my-dad-took-me-for-an-audition-once-to-show-me-ok-you-want-to-be-a/)

[Emilia Clarke](https://sms4smile.com/quotes/author/emilia-clarke/)

> [I cry at everything, even the length of the queue at Sainsbury's.](https://sms4smile.com/quotes/arabella-weir/i-cry-at-everything-even-the-length-of-the-queue-at-sainsbury-s/)

[Arabella Weir](https://sms4smile.com/quotes/author/arabella-weir/)

> [Waiting is so unusual that many of us can't stand in a queue for 30 seconds without getting out our phones to check for…](https://sms4smile.com/quotes/julian-baggini/waiting-is-so-unusual-that-many-of-us-can-t-stand-in-a-queue-for-30/)

[Julian Baggini](https://sms4smile.com/quotes/author/julian-baggini/)

> [“Make sure you take lots of pictures, and if you come back using words like 'queue' or 'lorry', I'll be very upset.”](https://sms4smile.com/quotes/rachel-hawkins/make-sure-you-take-lots-of-pictures-and-if-you-come-back-using-words/)

[Rachel Hawkins](https://sms4smile.com/quotes/author/rachel-hawkins/)

> [Perhaps we've time to have a look at the Number Thirty-One bus queue before we turn in.](https://sms4smile.com/quotes/calvin-trillin/perhaps-we-ve-time-to-have-a-look-at-the-number-thirty-one-bus-queue/)

[Calvin Trillin](https://sms4smile.com/quotes/author/calvin-trillin/)

## More by Eric Freeman

> [“When you delete a property, you’re not just deleting the value of the property, you’re deleting the property itself. And, if you try to…](https://sms4smile.com/quotes/eric-freeman/when-you-delete-a-property-you-re-not-just-deleting-the-value-of-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“the constructor always has a prototype property. More”](https://sms4smile.com/quotes/eric-freeman/the-constructor-always-has-a-prototype-property-more/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new, global variable. So be…](https://sms4smile.com/quotes/eric-freeman/when-you-assign-a-value-to-a-variable-name-that-hasn-t-been/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Web Workers have a global function named importScripts that you can use to import one or more JavaScript files into your worker. To”](https://sms4smile.com/quotes/eric-freeman/web-workers-have-a-global-function-named-importscripts-that-you-can/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“If the two values have different types, try to convert them into the same type and then compare them”](https://sms4smile.com/quotes/eric-freeman/if-the-two-values-have-different-types-try-to-convert-them-into-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Well, it’s a browser policy, and it says you can’t retrieve data from a domain that is different from the domain the page itself…](https://sms4smile.com/quotes/eric-freeman/well-it-s-a-browser-policy-and-it-says-you-can-t-retrieve-data-from-a/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Math is not a constructor, or even a function. It’s an object. As you know, Math is a built-in object that you can use…](https://sms4smile.com/quotes/eric-freeman/math-is-not-a-constructor-or-even-a-function-it-s-an-object-as-you/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it possibly can — and this leads…](https://sms4smile.com/quotes/eric-freeman/when-you-pass-zero-to-settimeout-you-re-asking-javascript-to-run-your/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“JavaScript doesn’t have a character type. So characters are returned as new strings containing one character.”](https://sms4smile.com/quotes/eric-freeman/javascript-doesn-t-have-a-character-type-so-characters-are-returned/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Closures are often used to capture state for event handlers.”](https://sms4smile.com/quotes/eric-freeman/closures-are-often-used-to-capture-state-for-event-handlers/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Lexical scope means that we can determine the scope of a variable by reading our code.”](https://sms4smile.com/quotes/eric-freeman/lexical-scope-means-that-we-can-determine-the-scope-of-a-variable-by/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that you can treat like…](https://sms4smile.com/quotes/eric-freeman/q-q-you-said-getelementsbytagname-returns-a-list-do-you-mean-an-array/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the function definitions, and in the…](https://sms4smile.com/quotes/eric-freeman/the-truth-is-javascript-actually-makes-two-passes-over-your-page-in/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has overridden that…](https://sms4smile.com/quotes/eric-freeman/if-you-change-any-property-in-the-prototype-it-affects-all-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“methods in objects are properties too. They just happen to have a function assigned to them.”](https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-a/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Explore all 90 Eric Freeman quotes ](https://sms4smile.com/quotes/author/eric-freeman/)

## More Computation quotes

> [Fantastic truths perish slower... Sappho's moon will survive the moon of Armstrong. Different computations are necessary.](https://sms4smile.com/quotes/odysseas-elytis/fantastic-truths-perish-slower-sappho-s-moon-will-survive-the-moon-of/)

[Odysseas Elytis](https://sms4smile.com/quotes/author/odysseas-elytis/)

> [Calculators can only calculate - they cannot do mathematics.](https://sms4smile.com/quotes/john-a-van-de-walle/calculators-can-only-calculate-they-cannot-do-mathematics/)

John A. Van de Walle

> [ALGEBRA is a general Method of Computation by certain Signs and Symbols which have been contrived for this Purpose, and found convenient.](https://sms4smile.com/quotes/colin-maclaurin/algebra-is-a-general-method-of-computation-by-certain-signs-and/)

Colin Maclaurin

> [Can you make fancy patterns of water that actually have some computation power? I'm betting that fluids are complex enough to do this.](https://sms4smile.com/quotes/terence-tao/can-you-make-fancy-patterns-of-water-that-actually-have-some/)

[Terence Tao](https://sms4smile.com/quotes/author/terence-tao/)

> [If you roll dice, you know that the odds are one in six that the dice will come up on a particular side. So…](https://sms4smile.com/quotes/nassim-nicholas-taleb/if-you-roll-dice-you-know-that-the-odds-are-one-in-six-that-the-dice/)

[Nassim Nicholas Taleb](https://sms4smile.com/quotes/author/nassim-nicholas-taleb/)

> [If we suppose that many natural phenomena are in effect computations, the study of computer science can tell us about the kinds of natural…](https://sms4smile.com/quotes/rudy-rucker/if-we-suppose-that-many-natural-phenomena-are-in-effect-computations/)

[Rudy Rucker](https://sms4smile.com/quotes/author/rudy-rucker/)

> [The term, information at your fingertips, is to remind people what a broad role the personal computer will be playing. It's not a computation…](https://sms4smile.com/quotes/bill-gates/the-term-information-at-your-fingertips-is-to-remind-people-what-a/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [Some things, like the orbits of the planets, can be calculated far into the future. But that's atypical. In most contexts, there is a…](https://sms4smile.com/quotes/martin-rees/some-things-like-the-orbits-of-the-planets-can-be-calculated-far-into/)

[Martin Rees](https://sms4smile.com/quotes/author/martin-rees/)

> [There is something going on in time and space, and beyond time and space, which, whether we like it or not, spells duty.](https://sms4smile.com/quotes/winston-churchill/there-is-something-going-on-in-time-and-space-and-beyond-time-and/)

[Winston Churchill](https://sms4smile.com/quotes/author/winston-churchill/)

> [To me quantum computation is a new and deeper and better way to understand the laws of physics, and hence understanding physical reality as…](https://sms4smile.com/quotes/david-deutsch/to-me-quantum-computation-is-a-new-and-deeper-and-better-way-to/)

[David Deutsch](https://sms4smile.com/quotes/author/david-deutsch/)

> [I have tried to avoid long numerical computations, thereby following Riemann's postulate that proofs should be given through ideas and not voluminous computations.](https://sms4smile.com/quotes/david-hilbert/i-have-tried-to-avoid-long-numerical-computations-thereby-following/)

[David Hilbert](https://sms4smile.com/quotes/author/david-hilbert/)

> [The Old Testament contains over 300 references to the Messiah that were fulfilled in Jesus Christ. Computations using the science of probability on just…](https://sms4smile.com/quotes/fritz-ridenour/the-old-testament-contains-over-300-references-to-the-messiah-that/)

Fritz Ridenour

> [“Whew, this might be getting a bit confusing. I hope you are following me so far. This is the point in every Theory of…](https://sms4smile.com/quotes/melanie-mitchell/whew-this-might-be-getting-a-bit-confusing-i-hope-you-are-following/)

[Melanie Mitchell](https://sms4smile.com/quotes/author/melanie-mitchell/)

> [“Mathematics is not about numbers, equations, computations, or algorithms: it is about understanding”](https://sms4smile.com/quotes/anonymous/mathematics-is-not-about-numbers-equations-computations-or-algorithms/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [People know, or dimly feel, that if thinking is not kept pure and keen, and if respect for the world of mind is no…](https://sms4smile.com/quotes/hermann-hesse/people-know-or-dimly-feel-that-if-thinking-is-not-kept-pure-and-keen/)

[Hermann Hesse](https://sms4smile.com/quotes/author/hermann-hesse/)

[Browse all 88 Computation quotes ](https://sms4smile.com/quotes/about/computation/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time to compute. As long as your handler is chugging along computing, I’m sitting around waiting until it’s done. Only then can I continue with the queue.”",
            "creator": {
                "@type": "Person",
                "name": "Eric Freeman"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/",
            "about": {
                "@type": "Thing",
                "name": "Computation"
            },
            "@id": "https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                "url": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long…” — Eric Freeman",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Eric Freeman",
                    "item": "https://sms4smile.com/quotes/author/eric-freeman/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Well, say you write a handler...",
                    "item": "https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
