---
title: "Meaning & Key Takeaway of: Procedure names should reflect what they…"
description: "\"Procedure names should reflect what they do; function names should reflect what they return\" — Rob Pike"
image: "https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg"
---

#  Procedure names should reflect what they do; function…

![“Procedure names should reflect what they do; function names should reflect what they return” quote by Rob Pike](https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg)   [Download](https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg) [Open image](https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg)

> “Procedure names should reflect what they do; function names should reflect what they return”

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

## About This Quote

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

Names should describe behavior and outcomes clearly for readability and maintenance.

**In simple terms:** Names should describe what they do and return.

Key Takeaway

Choose descriptive names.

Themes

clarity maintainability software design

Mood

analytical practical

Type

instructional technical

When to use this quote

- code reviews
- team onboarding
- API design
- refactoring

Key Concepts

semantic naming function contracts

Questions to Reflect On

- How do you decide when a name is descriptive enough?
- What conventions help keep naming consistent?

A Different Perspective

Names alone cannot guarantee understandability without documentation.

★ ★ ★ ★ ★   No ratings yet

[Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [The magic of procedure: do this after that and thus before so; then your wish will be granted.](https://sms4smile.com/quotes/mason-cooley/the-magic-of-procedure-do-this-after-that-and-thus-before-so-then/)

[Mason Cooley](https://sms4smile.com/quotes/author/mason-cooley/)

> [We see healthcare shifting from a procedure reimbursement, where in this country doctors are reimbursed for how many procedures they conduct, to a world…](https://sms4smile.com/quotes/john-sculley/we-see-healthcare-shifting-from-a-procedure-reimbursement-where-in/)

[John Sculley](https://sms4smile.com/quotes/author/john-sculley/)

> [At a cardiac arrest, the first procedure is to take your own pulse](https://sms4smile.com/quotes/samuel-shem/at-a-cardiac-arrest-the-first-procedure-is-to-take-your-own-pulse/)

[Samuel Shem](https://sms4smile.com/quotes/author/samuel-shem/)

> [It was during a cosmetic procedure that I first had painkillers.](https://sms4smile.com/quotes/jamie-lee-curtis/it-was-during-a-cosmetic-procedure-that-i-first-had-painkillers/)

[Jamie Lee Curtis](https://sms4smile.com/quotes/author/jamie-lee-curtis/)

> [I'm a big believer in anesthesia. I think it should be used for every medical procedure, indlucing routine physicals.](https://sms4smile.com/quotes/dave-barry/i-m-a-big-believer-in-anesthesia-i-think-it-should-be-used-for-every/)

[Dave Barry](https://sms4smile.com/quotes/author/dave-barry/)

> [If you’ve got a problem make it a procedure and it won’t be a problem anymore.](https://sms4smile.com/quotes/ben-feldman/if-you-ve-got-a-problem-make-it-a-procedure-and-it-won-t-be-a-problem/)

[Ben Feldman](https://sms4smile.com/quotes/author/ben-feldman/)

> [I never had plastic surgery. I had a nose procedure done because I had to. I had no cartilage in my nose; I have…](https://sms4smile.com/quotes/tamar-braxton/i-never-had-plastic-surgery-i-had-a-nose-procedure-done-because-i-had/)

[Tamar Braxton](https://sms4smile.com/quotes/author/tamar-braxton/)

> [Language should be an ever developing procedure and not an isolated occurrence.](https://sms4smile.com/quotes/robert-smithson/language-should-be-an-ever-developing-procedure-and-not-an-isolated/)

[Robert Smithson](https://sms4smile.com/quotes/author/robert-smithson/)

> [Procedure is the bone structure of a democratic society. Our scheme of law affords great latitude for dissent and opposition. It compels wide tolerance…](https://sms4smile.com/quotes/abe-fortas/procedure-is-the-bone-structure-of-a-democratic-society-our-scheme-of/)

[Abe Fortas](https://sms4smile.com/quotes/author/abe-fortas/)

> [The mark of the procedure. A real one. Lu is cured.](https://sms4smile.com/quotes/lauren-oliver/the-mark-of-the-procedure-a-real-one-lu-is-cured/)

[Lauren Oliver](https://sms4smile.com/quotes/author/lauren-oliver/)

> [Every religion is a procedure only.Our commitment towards god is the way to find the god.](https://sms4smile.com/quotes/sumesh-nair/every-religion-is-a-procedure-only-our-commitment-towards-god-is-the/)

[Sumesh Nair](https://sms4smile.com/quotes/author/sumesh-nair/)

> [Abortion is a severely traumatic and potentially dangerous procedure.](https://sms4smile.com/quotes/abby-johnson/abortion-is-a-severely-traumatic-and-potentially-dangerous-procedure/)

[Abby Johnson](https://sms4smile.com/quotes/author/abby-johnson/)

> [“Name?” He followed the procedure even though she’d”](https://sms4smile.com/quotes/kathryn-shay/name-he-followed-the-procedure-even-though-she-d/)

[Kathryn Shay](https://sms4smile.com/quotes/author/kathryn-shay/)

> [I have had it with people who are threatening me and my kids and my family over simply commenting on the law and criminal…](https://sms4smile.com/quotes/ashleigh-banfield/i-have-had-it-with-people-who-are-threatening-me-and-my-kids-and-my/)

[Ashleigh Banfield](https://sms4smile.com/quotes/author/ashleigh-banfield/)

> [The bone marrow transplant procedure itself can be dangerous, but it is swift, which makes it feel strangely anti-climactic.](https://sms4smile.com/quotes/suleika-jaouad/the-bone-marrow-transplant-procedure-itself-can-be-dangerous-but-it/)

[Suleika Jaouad](https://sms4smile.com/quotes/author/suleika-jaouad/)

## More by Rob Pike

> [Eventually, I decided that thinking was not getting me very far and it was time to try building.](https://sms4smile.com/quotes/rob-pike/eventually-i-decided-that-thinking-was-not-getting-me-very-far-and-it/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Productivity is most important by engineering management rules, but enjoyment is most important for engineers. One stems from the other.](https://sms4smile.com/quotes/rob-pike/productivity-is-most-important-by-engineering-management-rules-but/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [When there is no type hierarchy you don't have to manage the type hierarchy.](https://sms4smile.com/quotes/rob-pike/when-there-is-no-type-hierarchy-you-don-t-have-to-manage-the-type/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Not only is UNIX dead, it's starting to smell really bad.](https://sms4smile.com/quotes/rob-pike/not-only-is-unix-dead-it-s-starting-to-smell-really-bad/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Why would you have a language that is not theoretically exciting? Because it's very useful.](https://sms4smile.com/quotes/rob-pike/why-would-you-have-a-language-that-is-not-theoretically-exciting/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [If POSIX threads are a good thing, perhaps I don't want to know what they're better than.](https://sms4smile.com/quotes/rob-pike/if-posix-threads-are-a-good-thing-perhaps-i-don-t-want-to-know-what/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Such is modern computing: everything simple is made too complicated because it's easy to fiddle with; everything complicated stays complicated because it's hard to…](https://sms4smile.com/quotes/rob-pike/such-is-modern-computing-everything-simple-is-made-too-complicated/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Narrowness of experience leads to narrowness of imagination](https://sms4smile.com/quotes/rob-pike/narrowness-of-experience-leads-to-narrowness-of-imagination/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Rule 1. You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second…](https://sms4smile.com/quotes/rob-pike/rule-1-you-can-t-tell-where-a-program-is-going-to-spend-its-time/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [A smart terminal is not a smartass terminal, but rather a terminal you can educate.](https://sms4smile.com/quotes/rob-pike/a-smart-terminal-is-not-a-smartass-terminal-but-rather-a-terminal-you/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Caches aren't architecture, they're just optimization.](https://sms4smile.com/quotes/rob-pike/caches-aren-t-architecture-they-re-just-optimization/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Languages that try to disallow idiocy become themselves idiotic.](https://sms4smile.com/quotes/rob-pike/languages-that-try-to-disallow-idiocy-become-themselves-idiotic/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [Using Unix is the computing equivalent of listening only to music by David Cassidy.](https://sms4smile.com/quotes/rob-pike/using-unix-is-the-computing-equivalent-of-listening-only-to-music-by/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [There's no such thing as a simple cache bug.](https://sms4smile.com/quotes/rob-pike/there-s-no-such-thing-as-a-simple-cache-bug/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

> [There's nothing in computing that can't be broken by another level of indirection.](https://sms4smile.com/quotes/rob-pike/there-s-nothing-in-computing-that-can-t-be-broken-by-another-level-of/)

[Rob Pike](https://sms4smile.com/quotes/author/rob-pike/)

[Explore all 19 Rob Pike quotes ](https://sms4smile.com/quotes/author/rob-pike/)

## More Function quotes

> [It is indeed a surprising and fortunate fact that nature can be expressed by relatively low-order mathematical functions.](https://sms4smile.com/quotes/rudolf-carnap/it-is-indeed-a-surprising-and-fortunate-fact-that-nature-can-be/)

[Rudolf Carnap](https://sms4smile.com/quotes/author/rudolf-carnap/)

> [If I don't have pressure, I don't function.](https://sms4smile.com/quotes/ferran-adria/if-i-don-t-have-pressure-i-don-t-function/)

[Ferran Adria](https://sms4smile.com/quotes/author/ferran-adria/)

> [If I had to guess and put a name on it, I'd say that at some point, the drug war was as much a…](https://sms4smile.com/quotes/david-simon/if-i-had-to-guess-and-put-a-name-on-it-i-d-say-that-at-some-point-the/)

[David Simon](https://sms4smile.com/quotes/author/david-simon/)

> [To an ever greater extent out experience is governed by pictures, pictures in newspapers and magazines, on television and in the cinema. Next to…](https://sms4smile.com/quotes/douglas-crimp/to-an-ever-greater-extent-out-experience-is-governed-by-pictures/)

[Douglas Crimp](https://sms4smile.com/quotes/author/douglas-crimp/)

> [ \[Islam\] Leaves no room of human legislation in an Islamic state, because herein all legislative functions vest in God and the only function left… ](https://sms4smile.com/quotes/abul-a-la-maududi/islam-leaves-no-room-of-human-legislation-in-an-islamic-state-because/)

[Abul A'la Maududi](https://sms4smile.com/quotes/author/abul-a-la-maududi/)

> [I can still function when I don't have that balance I crave. I had a tendency to be precious about acting, thinking of it…](https://sms4smile.com/quotes/laura-regan/i-can-still-function-when-i-don-t-have-that-balance-i-crave-i-had-a/)

[Laura Regan](https://sms4smile.com/quotes/author/laura-regan/)

> [I don't know if I would qualify as mainstream. I think I have managed to function pretty successfully on the fringes of the music…](https://sms4smile.com/quotes/pat-metheny/i-don-t-know-if-i-would-qualify-as-mainstream-i-think-i-have-managed/)

[Pat Metheny](https://sms4smile.com/quotes/author/pat-metheny/)

> [Much of what I saw in Geneva really disillusioned me about how my government functions and what its impact is in the world. I…](https://sms4smile.com/quotes/edward-snowden/much-of-what-i-saw-in-geneva-really-disillusioned-me-about-how-my/)

[Edward Snowden](https://sms4smile.com/quotes/author/edward-snowden/)

> [Some writers say they cannot write in front of a window; many say they cannot function without almost perfect quiet. A writer with only…](https://sms4smile.com/quotes/gene-wolfe/some-writers-say-they-cannot-write-in-front-of-a-window-many-say-they/)

[Gene Wolfe](https://sms4smile.com/quotes/author/gene-wolfe/)

> [. . . to know the order of nature, and regard the universe as orderly is the highest function of the mind.](https://sms4smile.com/quotes/baruch-spinoza/to-know-the-order-of-nature-and-regard-the-universe-as-orderly-is-the/)

[Baruch Spinoza](https://sms4smile.com/quotes/author/baruch-spinoza/)

> [The thing about living alone is that it gives you a lot of time to think. You don't necessarily reach any conclusions, because wisdom…](https://sms4smile.com/quotes/jonathan-tropper/the-thing-about-living-alone-is-that-it-gives-you-a-lot-of-time-to/)

[Jonathan Tropper](https://sms4smile.com/quotes/author/jonathan-tropper/)

> [The religion of art, like the religion of politics, was born from the ruins of Christianity. Art inherited from the old religion the power…](https://sms4smile.com/quotes/octavio-paz/the-religion-of-art-like-the-religion-of-politics-was-born-from-the/)

[Octavio Paz](https://sms4smile.com/quotes/author/octavio-paz/)

> [The function of the law is not to provide justice or to preserve freedom. The function of the law is to keep those who…](https://sms4smile.com/quotes/gerry-spence/the-function-of-the-law-is-not-to-provide-justice-or-to-preserve/)

[Gerry Spence](https://sms4smile.com/quotes/author/gerry-spence/)

> [Early experience shapes the structure and function of the brain. This reveals the fundamental way in which gene expression is determined by experience.](https://sms4smile.com/quotes/daniel-j-siegel/early-experience-shapes-the-structure-and-function-of-the-brain-this/)

[Daniel J. Siegel](https://sms4smile.com/quotes/author/daniel-j-siegel/)

> [If the mind is dominated by hatred, the best part of the brain, which is used to judge right and wrong, does not function…](https://sms4smile.com/quotes/dalai-lama/if-the-mind-is-dominated-by-hatred-the-best-part-of-the-brain-which/)

[Dalai Lama](https://sms4smile.com/quotes/author/dalai-lama/)

Browse all 2,964 Function quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Procedure names should reflect what they do; function names should reflect what they return",
            "creator": {
                "@type": "Person",
                "name": "Rob Pike"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/rob-pike/procedure-names-should-reflect-what-they-do-function-names-should/",
            "about": {
                "@type": "Thing",
                "name": "Function"
            },
            "@id": "https://sms4smile.com/quotes/rob-pike/procedure-names-should-reflect-what-they-do-function-names-should/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg",
                "url": "https://sms4smile.com/quotes/i/1b0/rob-pike-28260_function_procedure-names-should-reflect-what-they_1148645.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Procedure names should reflect what they do; function names should reflect what they return” — Rob Pike",
                "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": "Rob Pike",
                    "item": "https://sms4smile.com/quotes/author/rob-pike/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Procedure names should reflect what they...",
                    "item": "https://sms4smile.com/quotes/rob-pike/procedure-names-should-reflect-what-they-do-function-names-should/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/rob-pike/procedure-names-should-reflect-what-they-do-function-names-should/#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
            }
        }
    ]
}
```
